summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Maas <opensource@till.name>2010-03-06 11:38:42 +0100
committerColin Walters <walters@verbum.org>2010-03-08 10:15:59 -0500
commite757971d279437c742045dd81b7b08fcdc037b9b (patch)
treed2a2af8e01d479fa61fcd649e5bd7ad7946d57d6
parentf68d58c4efe705a9c38442194fb526cade309928 (diff)
fedpkg-vcs: s/opt_statusfile/opts['statusfile']/
In the commands opt['statusfile'] instead of opt_statusfile has to be used.
-rwxr-xr-xfedpkg-vcs6
1 files 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()