projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf42b0a
)
Py2.4 fix
author
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 21 Sep 2013 11:35:31 +0000
(13:35 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 21 Sep 2013 11:35:31 +0000
(13:35 +0200)
Cython/Build/Dependencies.py
patch
|
blob
|
history
diff --git
a/Cython/Build/Dependencies.py
b/Cython/Build/Dependencies.py
index
ec45a0e
..
b44cb7d
100644
(file)
--- a/
Cython/Build/Dependencies.py
+++ b/
Cython/Build/Dependencies.py
@@
-801,12
+801,13
@@
if os.environ.get('XML_RESULTS'):
compile_result_dir = os.environ['XML_RESULTS']
def record_results(func):
def with_record(*args):
+ t = time.time()
+ success = True
try:
- t = time.time()
- success = True
- func(*args)
- except:
- success = False
+ try:
+ func(*args)
+ except:
+ success = False
finally:
t = time.time() - t
module = fully_qualifeid_name(args[0])