changeset 12:865dcd43dfe4

tak
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Mon, 11 Feb 2013 17:04:26 +0100
parents 3936b3fdee1a
children 8c54786afd38
files srxproxy.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/srxproxy.py	Mon Feb 11 16:54:03 2013 +0100
+++ b/srxproxy.py	Mon Feb 11 17:04:26 2013 +0100
@@ -1,6 +1,7 @@
 #!/usr/bin/env python
 
 import datetime
+import sys
 
 from nova import rpc
 from nova.rpc import amqp
@@ -232,7 +233,8 @@
 
 
 if __name__ == '__main__':
-    utils.default_flagfile('/etc/nova/nova.conf')
+    utils.default_flagfile()
+    FLAGS(sys.argv)
     log.setup()
     log.root.setLevel(log.DEBUG)
     eventlet.monkey_patch()