Commit 879119ec authored by Jason R. Coombs's avatar Jason R. Coombs

Use Python 3 syntax in 'script (dev).tmpl', as Python 2.6+ supports this syntax

parent e88bff90
......@@ -2,7 +2,4 @@
__requires__ = %(spec)r
__import__('pkg_resources').require(%(spec)r)
__file__ = %(dev_path)r
if __import__('sys').version_info < (3, 0):
execfile(__file__)
else:
exec(compile(open(__file__).read(), __file__, 'exec'))
exec(compile(open(__file__).read(), __file__, 'exec'))
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