Made the finishevent's aborted parameter optional.
authorFredrik Tolf <fredrik@dolda2000.com>
Fri, 23 Dec 2011 01:28:37 +0000 (02:28 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Fri, 23 Dec 2011 01:28:37 +0000 (02:28 +0100)
pdm/perf.py

index 34db2ea..087d782 100644 (file)
@@ -124,7 +124,7 @@ class startevent(procevent):
         super(startevent, self).__init__(getprocid())
 
 class finishevent(procevent):
-    def __init__(self, start, aborted):
+    def __init__(self, start, aborted = False):
         super(finishevent, self).__init__(start)
         self.aborted = aborted