summaryrefslogtreecommitdiffstats
path: root/glusternagios
diff options
context:
space:
mode:
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