summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2012-12-20 13:27:36 -0500
committerAdam Young <ayoung@redhat.com>2012-12-20 14:20:50 -0500
commite7fd4b9b5722d53c18837b44b41b25a323d9b44a (patch)
treeb05847a1c5c8657dd00c6b8b468f4b717af797c7
parent882414d8075bdaff85d5995897f725ba0f5bfdc6 (diff)
downloadpython-keystoneclient-e7fd4b9b5722d53c18837b44b41b25a323d9b44a.tar.gz
Make it possible to debug by running module.0.2.1
Change-Id: I6ac6f18c4737b19e03a9be07718f8b64d43953c2
-rw-r--r--keystoneclient/shell.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/keystoneclient/shell.py b/keystoneclient/shell.py
index e0b241f..ae8870f 100644
--- a/keystoneclient/shell.py
+++ b/keystoneclient/shell.py
@@ -471,3 +471,7 @@ def main():
except Exception as e:
print >> sys.stderr, e
sys.exit(1)
+
+
+if __name__ == "__main__":
+ sys.exit(main())