diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-09-08 21:33:42 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-09-08 21:33:42 -0400 |
commit | b70e96f6c581983270268ed3b4f1b39c17f1be5c (patch) | |
tree | cad4c6ee2e5655290d04feb3335b06d91775a95e /rpmbuild-remote.py | |
parent | 6e44dbd24b6edb7fbcfe3b6127b1dc075180955e (diff) | |
download | rpmbuild-remote-b70e96f6c581983270268ed3b4f1b39c17f1be5c.tar.gz rpmbuild-remote-b70e96f6c581983270268ed3b4f1b39c17f1be5c.tar.xz rpmbuild-remote-b70e96f6c581983270268ed3b4f1b39c17f1be5c.zip |
Allow ssh_key to be None
Diffstat (limited to 'rpmbuild-remote.py')
-rw-r--r-- | rpmbuild-remote.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py index a8360f1..845bc3f 100644 --- a/rpmbuild-remote.py +++ b/rpmbuild-remote.py @@ -94,8 +94,7 @@ def read_preferences(options): if 'user' not in system: system['user'] = options.user if 'ssh_key' not in system: - if not options.ssh_key is None: - system['ssh_key'] = options.ssh_key + system['ssh_key'] = options.ssh_key if 'host' not in system: if options.host is None: LOG.error("Host not set") |