summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_ssh_import_id.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-09-10 14:32:37 -0400
committerScott Moser <smoser@ubuntu.com>2014-09-10 14:32:37 -0400
commit91a5bf5fb67a147e2f434407d1449e745dc1ba3f (patch)
tree5638753015b8675e53af4b6cabb3cf0d36025bc7 /cloudinit/config/cc_ssh_import_id.py
parente17823ebeb397110c2163629d9f0f94dbea0c5e4 (diff)
parent67efb99bc8e4628e86aef76fed3411c1cc763571 (diff)
downloadvyos-cloud-init-91a5bf5fb67a147e2f434407d1449e745dc1ba3f.tar.gz
vyos-cloud-init-91a5bf5fb67a147e2f434407d1449e745dc1ba3f.zip
pyflakes fixes.
make pyflakes now passes.
Diffstat (limited to 'cloudinit/config/cc_ssh_import_id.py')
-rw-r--r--cloudinit/config/cc_ssh_import_id.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_ssh_import_id.py b/cloudinit/config/cc_ssh_import_id.py
index 76c1663d..2d480d7e 100644
--- a/cloudinit/config/cc_ssh_import_id.py
+++ b/cloudinit/config/cc_ssh_import_id.py
@@ -85,7 +85,7 @@ def import_ssh_ids(ids, user, log):
return
try:
- _check = pwd.getpwnam(user)
+ pwd.getpwnam(user)
except KeyError as exc:
raise exc