From: Fredrik Tolf Date: Fri, 23 Dec 2011 01:28:37 +0000 (+0100) Subject: Made the finishevent's aborted parameter optional. X-Git-Tag: 0.1~1^2~1 X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=0f1f2a1b285e659a6f32a16176d334fe6c48b44b;hp=ebd7a8ba1cfa6feee987b7d7ac69f50a2e0a345e;p=pdm.git Made the finishevent's aborted parameter optional. --- diff --git a/pdm/perf.py b/pdm/perf.py index 34db2ea..087d782 100644 --- a/pdm/perf.py +++ b/pdm/perf.py @@ -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