Commit 48a63f58 authored by Stefan Behnel's avatar Stefan Behnel

Py2.4 fix

parent cf42b0a0
...@@ -801,9 +801,10 @@ if os.environ.get('XML_RESULTS'): ...@@ -801,9 +801,10 @@ if os.environ.get('XML_RESULTS'):
compile_result_dir = os.environ['XML_RESULTS'] compile_result_dir = os.environ['XML_RESULTS']
def record_results(func): def record_results(func):
def with_record(*args): def with_record(*args):
try:
t = time.time() t = time.time()
success = True success = True
try:
try:
func(*args) func(*args)
except: except:
success = False success = False
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment