Change in vdsm[master]: pep8: Fix indentation in supervdsmServer

dkuznets at redhat.com dkuznets at redhat.com
Tue May 20 07:23:53 UTC 2014


Dima Kuznetsov has uploaded a new change for review.

Change subject: pep8: Fix indentation in supervdsmServer
......................................................................

pep8: Fix indentation in supervdsmServer

Fix pep8 issue in supervdsmServer and added its path to PEP8_WHITELIST
to make sure don't oversee other pep8 issues in the file.

Change-Id: I6af53e01ce7da4c802d65dac19df87e31d60c7fe
Signed-off-by: Dima Kuznetsov <dkuznets at redhat.com>
---
M Makefile.am
M vdsm/supervdsmServer
2 files changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/99/27899/1

diff --git a/Makefile.am b/Makefile.am
index d2ac39a..f72576c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -63,6 +63,7 @@
 
 PEP8_WHITELIST = \
 	vdsm-tool/vdsm-tool \
+	vdsm/supervdsmServer \
 	$(NULL)
 
 
diff --git a/vdsm/supervdsmServer b/vdsm/supervdsmServer
index ffcedb8..498517b 100755
--- a/vdsm/supervdsmServer
+++ b/vdsm/supervdsmServer
@@ -265,8 +265,8 @@
     @logDecorator
     def appropriateDevice(self, guid, thiefId):
         ruleFile = _UDEV_RULE_FILE_NAME % (guid, thiefId)
-        rule = 'SYMLINK=="mapper/%s", OWNER="%s", GROUP="%s"\n' % (guid,
-               DISKIMAGE_USER, DISKIMAGE_GROUP)
+        rule = 'SYMLINK=="mapper/%s", OWNER="%s", GROUP="%s"\n' % \
+            (guid, DISKIMAGE_USER, DISKIMAGE_GROUP)
         with open(ruleFile, "w") as rf:
             self.log.debug("Creating rule %s: %r", ruleFile, rule)
             rf.write(rule)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6af53e01ce7da4c802d65dac19df87e31d60c7fe
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dima Kuznetsov <dkuznets at redhat.com>


More information about the vdsm-patches mailing list