summaryrefslogtreecommitdiffstats
path: root/glusternagios
diff options
context:
space:
mode:
authorTimothy Asir Jeyasingh <tjeyasin@redhat.com>2014-06-24 14:44:55 +0530
committerSahina Bose <sabose@redhat.com>2014-06-26 01:54:16 -0700
commit1ee32cb06834ebb80d548ef4039b9e40f928900e (patch)
tree17922fca13fd5c798dc33b27855ab2e85e649437 /glusternagios
parent76803ac0ceb8335ca24ace1505b30d485fa2f066 (diff)
fix pep8 errorsv0.1.1
Change-Id: I3121e6b4044e2f0831fe3c862fb12e8bc27cfd3c Signed-off-by: Timothy Asir Jeyasingh <tjeyasin@redhat.com> Reviewed-on: http://review.gluster.org/8160 Tested-by: Timothy Asir <tim.gluster@gmail.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'glusternagios')
-rwxr-xr-xglusternagios/storage.py8
-rw-r--r--glusternagios/utils.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/glusternagios/storage.py b/glusternagios/storage.py
index 1147d25..ff6b108 100755
--- a/glusternagios/storage.py
+++ b/glusternagios/storage.py
@@ -268,16 +268,16 @@ def getDisksForBrick(deviceName=None, brickName=None):
return ""
-#gets the brick's device name using df command
+# gets the brick's device name using df command
def getBrickDeviceName(brickName):
brickName = brickName.rstrip()
if brickName is "":
return ""
dfOut = getdf(brickName)
- #The output will be similar to
- #['Filesystem Size Used Avail Use% Mounted on',
+ # The output will be similar to
+ # ['Filesystem Size Used Avail Use% Mounted on',
# '/dev/vda1 485M 34M 426M 8% /boot']
- #need to parse to get the device name
+ # need to parse to get the device name
if len(dfOut) > 1:
dfOutList = dfOut[1].split()
if len(dfOutList) > 0:
diff --git a/glusternagios/utils.py b/glusternagios/utils.py
index 88ebccf..3882a63 100644
--- a/glusternagios/utils.py
+++ b/glusternagios/utils.py
@@ -18,7 +18,7 @@
# Refer to the README and COPYING files for full details of the license
#
-## most of the code is copied from vdsm project
+# most of the code is copied from vdsm project
import logging
import subprocess