summaryrefslogtreecommitdiff
path: root/cloudinit/netinfo.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-01-30 09:24:30 -0500
committerScott Moser <smoser@ubuntu.com>2012-01-30 09:24:30 -0500
commit81ca0bc300ac5d8b8c0498727132e82dab72a396 (patch)
tree442adbde4f0dfbdfd18b2d8b492ff5538413196a /cloudinit/netinfo.py
parenta204d0e5005aae356207537472d889b58ec04c2f (diff)
downloadvyos-cloud-init-81ca0bc300ac5d8b8c0498727132e82dab72a396.tar.gz
vyos-cloud-init-81ca0bc300ac5d8b8c0498727132e82dab72a396.zip
netinfo.py: minor pylint complaint on unused 'devname'
Diffstat (limited to 'cloudinit/netinfo.py')
-rw-r--r--cloudinit/netinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/netinfo.py b/cloudinit/netinfo.py
index 80223256..7e07812e 100644
--- a/cloudinit/netinfo.py
+++ b/cloudinit/netinfo.py
@@ -61,7 +61,7 @@ def netdev_info(empty=""):
devs[curdev][target] = toks[i][len(field) + 1:]
if empty != "":
- for (devname, dev) in devs.iteritems():
+ for (_devname, dev) in devs.iteritems():
for field in dev:
if dev[field] == "":
dev[field] = empty