diff options
| author | Till Maas <opensource@till.name> | 2010-03-06 11:38:42 +0100 |
|---|---|---|
| committer | Colin Walters <walters@verbum.org> | 2010-03-08 10:15:59 -0500 |
| commit | e757971d279437c742045dd81b7b08fcdc037b9b (patch) | |
| tree | d2a2af8e01d479fa61fcd649e5bd7ad7946d57d6 | |
| parent | f68d58c4efe705a9c38442194fb526cade309928 (diff) | |
fedpkg-vcs: s/opt_statusfile/opts['statusfile']/
In the commands opt['statusfile'] instead of opt_statusfile has to be used.
| -rwxr-xr-x | fedpkg-vcs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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() |
