From c88697452c8aa053d573d87fb7bbdb384c0417b0 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Wed, 29 Oct 2008 08:14:12 -1000 Subject: 'is not' -> '!=' --- network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'network.py') 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. -- cgit