From e757971d279437c742045dd81b7b08fcdc037b9b Mon Sep 17 00:00:00 2001 From: Till Maas Date: Sat, 6 Mar 2010 11:38:42 +0100 Subject: fedpkg-vcs: s/opt_statusfile/opts['statusfile']/ In the commands opt['statusfile'] instead of opt_statusfile has to be used. --- fedpkg-vcs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fedpkg-vcs b/fedpkg-vcs index 508cf96..4327eba 100755 --- a/fedpkg-vcs +++ b/fedpkg-vcs @@ -334,7 +334,7 @@ def command_pull(spec, vcs, vcsdir, args=[], opts={}): if oldid == newid and not opts['force']: print "No changes upstream" if opts['statusfile'] is not None: - f = open(opt_statusfile, 'w') + f = open(opts['statusfile'], 'w') f.write('unchanged') f.close() sys.exit(0) @@ -382,8 +382,8 @@ def command_pull_update(spec, vcs, vcsdir, args=[], opts={}): print "If you want to upload to Fedora, you'll need to run:" print " make upload FILE=%s" % (snapshot_archivename, ) print " cvs commit && make tag build" - if opt_statusfile is not None: - f = open(opt_statusfile, 'w') + if opts['statusfile'] is not None: + f = open(opt['statusfile'], 'w') f.write('updated') f.close() -- cgit