[node-patches] Change in ovirt-node[master]: fix pep8 E127 errors

mburns at redhat.com mburns at redhat.com
Fri May 24 16:40:23 UTC 2013


Michael Burns has uploaded a new change for review.

Change subject: fix pep8 E127 errors
......................................................................

fix pep8 E127 errors

over indenting errors
only fixing in src/ovirt directory structure

Change-Id: I86b07f37cca8a33bcdab92c08ade981017169a50
Signed-off-by: Mike Burns <mburns at redhat.com>
---
M src/ovirt/node/app.py
M src/ovirt/node/setup/core/diagnostics_page.py
2 files changed, 7 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/52/15052/1

diff --git a/src/ovirt/node/app.py b/src/ovirt/node/app.py
index f0237fa..5653965 100644
--- a/src/ovirt/node/app.py
+++ b/src/ovirt/node/app.py
@@ -128,13 +128,13 @@
     def __parse_cmdline(self):
         parser = OptionParser()
         parser.add_option("--defaults",
-                            dest="defaults",
-                            help="Central oVirt Node configuration file")
+                          dest="defaults",
+                          help="Central oVirt Node configuration file")
         parser.add_option("--dry",
-                            action='store_true',
-                            dest="dry",
-                            default=False,
-                            help="Just write defaults, nothing else")
+                          action='store_true',
+                          dest="dry",
+                          default=False,
+                          help="Just write defaults, nothing else")
         (self.args, argcount) = parser.parse_args()
 
         self.logger.debug("Parsed args: %s" % self.args)
diff --git a/src/ovirt/node/setup/core/diagnostics_page.py b/src/ovirt/node/setup/core/diagnostics_page.py
index d4d4661..f9147c6 100644
--- a/src/ovirt/node/setup/core/diagnostics_page.py
+++ b/src/ovirt/node/setup/core/diagnostics_page.py
@@ -71,7 +71,7 @@
             changed_field = changes.keys()[0]
             if "diagnostic.tools" in changed_field:
                 cmds = dict((name, cmd) for (name, cmd)
-                             in self.__diagnostics())
+                            in self.__diagnostics())
             cmd = cmds.get(changes[changed_field], None)
             if cmd:
                 contents = process.check_output(cmd, stderr=process.STDOUT)


--
To view, visit http://gerrit.ovirt.org/15052
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I86b07f37cca8a33bcdab92c08ade981017169a50
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Michael Burns <mburns at redhat.com>



More information about the node-patches mailing list