summaryrefslogtreecommitdiffstats
path: root/fedpkg-vcs
diff options
context:
space:
mode:
Diffstat (limited to 'fedpkg-vcs')
-rwxr-xr-xfedpkg-vcs8
1 files changed, 6 insertions, 2 deletions
diff --git a/fedpkg-vcs b/fedpkg-vcs
index 05ab3cb..508cf96 100755
--- a/fedpkg-vcs
+++ b/fedpkg-vcs
@@ -312,7 +312,11 @@ class Spec(object):
if line.startswith(key):
result.append(line[len(key):].strip())
return result
-
+
+ def __str__(self):
+ return self._filename
+
+
def command_checkout(spec, vcs, vcsdir, args=[], opts={}):
if os.path.exists(vcsdir):
print "VCS directory %r already exists" % (vcsdir, )
@@ -374,7 +378,7 @@ def command_pull_update(spec, vcs, vcsdir, args=[], opts={}):
f.write('\n')
f.close()
- print "Updated %s and sources file" % (targetspec, )
+ print "Updated %s and sources file" % (spec, )
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"