diff options
author | Colin Guthrie <colin@mageia.org> | 2015-02-03 18:02:12 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2015-02-03 18:02:12 +0000 |
commit | 7b90bc8d4af39858b33e0f80fbd27c6a44e0f7d8 (patch) | |
tree | f443a96dfe51c500e3f3cab54ff166abdc4a380d /modules | |
parent | 58a254697b6ae3c529ae726896181684f714310f (diff) | |
download | puppet-7b90bc8d4af39858b33e0f80fbd27c6a44e0f7d8.tar puppet-7b90bc8d4af39858b33e0f80fbd27c6a44e0f7d8.tar.gz puppet-7b90bc8d4af39858b33e0f80fbd27c6a44e0f7d8.tar.bz2 puppet-7b90bc8d4af39858b33e0f80fbd27c6a44e0f7d8.tar.xz puppet-7b90bc8d4af39858b33e0f80fbd27c6a44e0f7d8.zip |
openssh: Fix python copy/paste error.
Introduced in d5148ffbb0514c37893002e4988c5f7f379586bf
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/openssh/templates/ldap-sshkey2file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openssh/templates/ldap-sshkey2file.py b/modules/openssh/templates/ldap-sshkey2file.py index 15c27270..1c474038 100755 --- a/modules/openssh/templates/ldap-sshkey2file.py +++ b/modules/openssh/templates/ldap-sshkey2file.py @@ -86,7 +86,7 @@ def write_keys(keys, user, uid, gid): if fromldap != fromfile: (fd, tmpname) = tempfile.mkstemp('', 'ldap-sshkey2file-') os.write(fd, fromldap); - f.close() + os.close(fd) os.chmod(tmpname, 0600) os.chown(tmpname, uid, gid) shutil.move(tmpname, keyfile) |