diff options
author | Timothy Asir Jeyasingh <tjeyasin@redhat.com> | 2014-06-24 14:44:55 +0530 |
---|---|---|
committer | Sahina Bose <sabose@redhat.com> | 2014-06-26 01:54:16 -0700 |
commit | 1ee32cb06834ebb80d548ef4039b9e40f928900e (patch) | |
tree | 17922fca13fd5c798dc33b27855ab2e85e649437 /glusternagios/storage.py | |
parent | 76803ac0ceb8335ca24ace1505b30d485fa2f066 (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/storage.py')
-rwxr-xr-x | glusternagios/storage.py | 8 |
1 files changed, 4 insertions, 4 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: |