diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-01-12 16:54:54 +0100 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-01-12 16:54:54 +0100 |
commit | 6a2031c4dc005d9a0f42b10200b828eee5cf166f (patch) | |
tree | a57029f73b060b9e8ab6068d326f939dc479d191 /cloudinit/CloudConfig/cc_set_passwords.py | |
parent | 234cefd314a7e1cfb51fad3bdf344d801a8b238d (diff) | |
download | vyos-cloud-init-6a2031c4dc005d9a0f42b10200b828eee5cf166f.tar.gz vyos-cloud-init-6a2031c4dc005d9a0f42b10200b828eee5cf166f.zip |
[PATCH 06/13] Fix pylint warnings W0612 (unused variable)
From: Juerg Haefliger <juerg.haefliger@hp.com>
Diffstat (limited to 'cloudinit/CloudConfig/cc_set_passwords.py')
-rw-r--r-- | cloudinit/CloudConfig/cc_set_passwords.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_set_passwords.py b/cloudinit/CloudConfig/cc_set_passwords.py index f44d450c..07e3ca1b 100644 --- a/cloudinit/CloudConfig/cc_set_passwords.py +++ b/cloudinit/CloudConfig/cc_set_passwords.py @@ -115,7 +115,7 @@ def handle(_name,cfg,_cloud,log,args): return def rand_str(strlen=32, select_from=string.letters+string.digits): - return("".join([random.choice(select_from) for x in range(0, strlen)])) + return("".join([random.choice(select_from) for _x in range(0, strlen)])) def rand_user_password(pwlen=9): selfrom=(string.letters.translate(None,'loLOI') + |