Repository: cloudstack-cloudmonkey
Updated Branches:
  refs/heads/master 2d709cab3 -> d62f6b4c6


cloudmonkey: apply pep8 fixes

Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/commit/d62f6b4c
Tree: 
http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/tree/d62f6b4c
Diff: 
http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/diff/d62f6b4c

Branch: refs/heads/master
Commit: d62f6b4c603ec69e56313d470f55121d6ee565e9
Parents: 2d709ca
Author: Rohit Yadav <rohit.ya...@shapeblue.com>
Authored: Wed Sep 3 19:28:14 2014 +0200
Committer: Rohit Yadav <rohit.ya...@shapeblue.com>
Committed: Wed Sep 3 19:28:14 2014 +0200

----------------------------------------------------------------------
 cloudmonkey/cloudmonkey.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/blob/d62f6b4c/cloudmonkey/cloudmonkey.py
----------------------------------------------------------------------
diff --git a/cloudmonkey/cloudmonkey.py b/cloudmonkey/cloudmonkey.py
index 1d3893d..9264d0e 100644
--- a/cloudmonkey/cloudmonkey.py
+++ b/cloudmonkey/cloudmonkey.py
@@ -432,7 +432,8 @@ class CloudMonkeyShell(cmd.Cmd, object):
         setattr(self, key, value)
         if key in ['host', 'port', 'path', 'protocol']:
             key = 'url'
-            self.url = "%s://%s:%s%s" % (self.protocol, self.host, self.port, 
self.path)
+            self.url = "%s://%s:%s%s" % (self.protocol, self.host,
+                                         self.port, self.path)
             print "This option has been deprecated, please set 'url' instead"
             print "This server url will be used:", self.url
         write_config(self.get_attr, self.config_file)
@@ -567,8 +568,8 @@ def main():
                                      description=__description__,
                                      epilog="Try cloudmonkey [help|?]")
     parser.add_argument("-c", "--config-file",
-                      dest="configFile", default=config_file,
-                      help="config file for cloudmonkey", metavar="FILE")
+                        dest="configFile", default=config_file,
+                        help="config file for cloudmonkey", metavar="FILE")
 
     parser.add_argument("commands", nargs=argparse.REMAINDER,
                         help="api commands")

Reply via email to