From b70e96f6c581983270268ed3b4f1b39c17f1be5c Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 8 Sep 2009 21:33:42 -0400 Subject: Allow ssh_key to be None --- rpmbuild-remote.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rpmbuild-remote.py') 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") -- cgit