~jbauer/cloud-init/salt

« back to all changes in this revision

Viewing changes to cloudinit/netinfo.py

  • Committer: Scott Moser
  • Date: 2012-01-30 14:24:30 UTC
  • Revision ID: smoser@ubuntu.com-20120130142430-j9twghkaahn3m8f1
netinfo.py: minor pylint complaint on unused 'devname'

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
                    devs[curdev][target] = toks[i][len(field) + 1:]
62
62
 
63
63
    if empty != "":
64
 
        for (devname, dev) in devs.iteritems():
 
64
        for (_devname, dev) in devs.iteritems():
65
65
            for field in dev:
66
66
                if dev[field] == "":
67
67
                    dev[field] = empty