summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-10-29 08:14:12 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-10-29 08:18:03 -1000
commitc88697452c8aa053d573d87fb7bbdb384c0417b0 (patch)
treee6338e66f889295e373506b3954b40e43d6fbe61 /network.py
parentc0d2ff2c62b1aa2ab967acb5490ace0ea7ba0f4c (diff)
downloadanaconda-c88697452c8aa053d573d87fb7bbdb384c0417b0.tar.gz
anaconda-c88697452c8aa053d573d87fb7bbdb384c0417b0.tar.xz
anaconda-c88697452c8aa053d573d87fb7bbdb384c0417b0.zip
'is not' -> '!='
Diffstat (limited to 'network.py')
-rw-r--r--network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/network.py b/network.py
index fcb0aa3db..19dfecdba 100644
--- a/network.py
+++ b/network.py
@@ -694,7 +694,7 @@ class Network:
continue
devname = dev.get("DEVICE")
basename = devname
- while basename is not "" and basename[-1] in string.digits:
+ while basename != "" and basename[-1] in string.digits:
basename = basename[:-1]
# rules are case senstive for address. Lame.