diff options
Diffstat (limited to 'fedpkg-vcs')
-rwxr-xr-x | fedpkg-vcs | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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" |