summaryrefslogtreecommitdiffstats
path: root/plugins/network_utils.py
diff options
context:
space:
mode:
authorDarshan N <dnarayan@redhat.com>2015-08-05 18:00:28 +0530
committerSahina Bose <sabose@redhat.com>2015-08-16 22:58:00 -0700
commitd3b772cfc6b9e4442988540447a003e3ce4410e3 (patch)
tree111002cc18efd7fe4bacb4be3d48214f8f2425a7 /plugins/network_utils.py
parentd040cb45469d64fa7534247f9568b48b28114c3f (diff)
server-addons: pep8 fixes.
Change-Id: I920ed33f0e257dd741d1c6df39b46efebe9abd02 Signed-off-by: Darshan N <dnarayan@redhat.com> Reviewed-on: http://review.gluster.org/11836 Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'plugins/network_utils.py')
-rw-r--r--plugins/network_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/network_utils.py b/plugins/network_utils.py
index 83fecc0..0566aaf 100644
--- a/plugins/network_utils.py
+++ b/plugins/network_utils.py
@@ -65,7 +65,7 @@ def validateHostAddress(address):
return "Please specify host Address"
if IPADDR_RE.match(address):
- if not address in getNonLoopbackAddresses():
+ if address not in getNonLoopbackAddresses():
return "Address '%s' can't be mapped to non loopback devices " \
"on this host" % address
else: