From 9b751ba6a2606314f129ea149bf494d4dced09a4 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 29 Aug 2002 17:41:08 +0000 Subject: [PATCH] extend list operations --- direct/src/interval/MetaInterval.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/direct/src/interval/MetaInterval.py b/direct/src/interval/MetaInterval.py index 24c61dcd2d..063fe3ff4a 100644 --- a/direct/src/interval/MetaInterval.py +++ b/direct/src/interval/MetaInterval.py @@ -66,10 +66,7 @@ class MetaInterval(CMetaInterval): def extend(self, ivals): # Appends a list of intervals to the list so far. - if isinstance(self.ivals, types.TupleType): - self.ivals = list(self.ivals) - self.ivals.extend(ivals) - self.__ivalsDirty = 1 + self += ivals def __len__(self): return len(self.ivals)