Skip to content

Commit

Permalink
Merge pull request #6 from ruthfranklin/master
Browse files Browse the repository at this point in the history
Compatibility fix for python 2.6
  • Loading branch information
jsspencer committed Dec 18, 2016
2 parents 842c256 + f157ab6 commit 639bdfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/testcode2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def __init__(self, name, exe, test_id, benchmark, **kwargs):
elif self.extract_program:
warnings.warn('importlib not available. Will attempt to '
'analyse data via an external script.')
self.extract_fn = None
else:
raise exceptions.TestCodeError('importlib not available and '
'no data extraction program supplied.')
Expand Down

0 comments on commit 639bdfa

Please sign in to comment.