summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
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")