summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRamesh Nachimuthu <rnachimu@redhat.com>2014-05-02 15:59:59 +0530
committerSahina Bose <sabose@redhat.com>2014-05-02 04:27:52 -0700
commit566706fb10e6c626556fb5bab45d74c20ba922c1 (patch)
tree43d5438e37950ab9631ad961ae32213a70927038 /tests
parentd0327fab7fbaf2c6f30e807fb8c90dfe5fa9db5c (diff)
autoconf:Fix for pep8 issue
fixing a small pep8 issue Change-Id: I203ae51d78b846184dc873b18a6bfbf526f937e3 Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com> Reviewed-on: http://review.gluster.org/7646 Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_discover_volumes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_discover_volumes.py b/tests/test_discover_volumes.py
index 0a61ba7..1e72933 100644
--- a/tests/test_discover_volumes.py
+++ b/tests/test_discover_volumes.py
@@ -39,12 +39,12 @@ class TestDiscoverVolumes(TestCaseBase):
if volumeName:
return {volumeName: volumes.get(volumeName)}
else:
- return volumes
+ return volumes
def _getBrickByHostAndPath(self, bricksList, hostUuid, path):
for brick in bricksList:
if brick.get('hostUuid') == hostUuid and \
- brick.get('brickpath') == path:
+ brick.get('brickpath') == path:
return brick
return None