From 5d737463b750dd9e0767642de1afea6a5bac1bb1 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 8 Sep 2009 22:11:19 -0400 Subject: Also pass the options along --- rpmbuild-remote.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpmbuild-remote.py') diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py index 2cc504c..271a38f 100644 --- a/rpmbuild-remote.py +++ b/rpmbuild-remote.py @@ -103,7 +103,7 @@ def read_preferences(opts): system['port'] = opts.port return system -def execute_jobs(system, jobs): +def execute_jobs(opts, system, jobs): session = paramiko.SSHClient() session.connect(system['host'], port=system['port'], username=system['user'], key_filename=system['ssh_key']) @@ -143,7 +143,7 @@ def main(): jobs[-1].append(arg) # Read the preferences file system = read_preferences(opts) - execute_jobs(system, jobs) + execute_jobs(opts, system, jobs) if __name__ == '__main__': main() -- cgit