summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()