Przeglądaj źródła

FunctionInterval should report its name as Func

David Rose 22 lat temu
rodzic
commit
91236ff836
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      direct/src/interval/FunctionInterval.py

+ 1 - 1
direct/src/interval/FunctionInterval.py

@@ -28,7 +28,7 @@ class FunctionInterval(Interval.Interval):
         self.function = function
         # Create a unique name for the interval if necessary
         if (name == None):
-            name = 'FunctionInterval-%s-%d' % (function.__name__, FunctionInterval.functionIntervalNum)
+            name = 'Func-%s-%d' % (function.__name__, FunctionInterval.functionIntervalNum)
             FunctionInterval.functionIntervalNum += 1
         assert(isinstance(name, types.StringType))
         # Record any arguments