Make it possible to debug by running module.

Change-Id: I6ac6f18c4737b19e03a9be07718f8b64d43953c2
This commit is contained in:
Adam Young
2012-12-20 13:27:36 -05:00
parent 882414d807
commit e7fd4b9b57

View File

@@ -471,3 +471,7 @@ def main():
except Exception as e:
print >> sys.stderr, e
sys.exit(1)
if __name__ == "__main__":
sys.exit(main())