Commit 1ed46282 authored by Niklas Rigemo's avatar Niklas Rigemo

Bug Correction: Avoid double execution when the application throws NameError exception.

--HG--
branch : patch1
parent 621f405d
# EASY-INSTALL-DEV-SCRIPT: %(spec)r,%(script_name)r
__requires__ = """%(spec)r"""
import sys
from pkg_resources import require
require("""%(spec)r""")
del require
__file__ = """%(dev_path)r"""
try:
if sys.version_info < (3, 0):
execfile(__file__)
except NameError:
else:
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