summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadek Vykydal <rvykydal@redhat.com>2013-02-18 09:26:12 +0100
committerRadek Vykydal <rvykydal@redhat.com>2013-02-19 11:14:51 +0100
commit3b554cd360c6d32cc98fca7847deb89fc50439b2 (patch)
treeeb63f37b6caf9f3ae0c74e9d528b3fbb4a3e7c11
parentd9f04c97535aced042da70ccfeef4136d890779b (diff)
downloadanaconda-3b554cd360c6d32cc98fca7847deb89fc50439b2.tar.gz
anaconda-3b554cd360c6d32cc98fca7847deb89fc50439b2.tar.xz
anaconda-3b554cd360c6d32cc98fca7847deb89fc50439b2.zip
Don't use "type" to name a variable.
-rw-r--r--pyanaconda/nm.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyanaconda/nm.py b/pyanaconda/nm.py
index 09910207c..ab497a2cb 100644
--- a/pyanaconda/nm.py
+++ b/pyanaconda/nm.py
@@ -411,13 +411,13 @@ if __name__ == "__main__":
print devname
try:
- type = nm_device_type(devname)
+ devtype = nm_device_type(devname)
except UnknownDeviceError as e:
print " %s" % e
- type = None
- if type == NetworkManager.DeviceType.ETHERNET:
+ devtype = None
+ if devtype == NetworkManager.DeviceType.ETHERNET:
print " type %s" % "ETHERNET"
- elif type == NetworkManager.DeviceType.WIFI:
+ elif devtype == NetworkManager.DeviceType.WIFI:
print " type %s" % "WIFI"
wireless_device = devname