summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-09-08 21:33:42 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-09-08 21:33:42 -0400
commitb70e96f6c581983270268ed3b4f1b39c17f1be5c (patch)
treecad4c6ee2e5655290d04feb3335b06d91775a95e /rpmbuild-remote.py
parent6e44dbd24b6edb7fbcfe3b6127b1dc075180955e (diff)
downloadrpmbuild-remote-b70e96f6c581983270268ed3b4f1b39c17f1be5c.zip
rpmbuild-remote-b70e96f6c581983270268ed3b4f1b39c17f1be5c.tar.gz
rpmbuild-remote-b70e96f6c581983270268ed3b4f1b39c17f1be5c.tar.xz
Allow ssh_key to be None
Diffstat (limited to 'rpmbuild-remote.py')
-rw-r--r--rpmbuild-remote.py3
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")