diff options
author | Olav Vitters <olav@vitters.nl> | 2013-09-18 12:59:06 +0200 |
---|---|---|
committer | Olav Vitters <olav@vitters.nl> | 2013-09-18 12:59:06 +0200 |
commit | bacb6bd3bcb6d750f977f640fd0c7da0e189f60f (patch) | |
tree | 1a2f0863d6977677be2ace7a84ed48430065b52b /mgagnome | |
parent | ac3e04894afcc058ae1db72b5653cee71fee7191 (diff) | |
download | mgagnome-bacb6bd3bcb6d750f977f640fd0c7da0e189f60f.tar mgagnome-bacb6bd3bcb6d750f977f640fd0c7da0e189f60f.tar.gz mgagnome-bacb6bd3bcb6d750f977f640fd0c7da0e189f60f.tar.bz2 mgagnome-bacb6bd3bcb6d750f977f640fd0c7da0e189f60f.tar.xz mgagnome-bacb6bd3bcb6d750f977f640fd0c7da0e189f60f.zip |
add error message when tarball cannot be downloaded
Diffstat (limited to 'mgagnome')
-rwxr-xr-x | mgagnome | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -479,7 +479,7 @@ class SpecFile(object): # Verify that RPM also agrees that version number has changed if self.version != version: - print "ERROR: Increased version to %s, but RPM doesn't agree!?!" % version + print >>sys.stderr, "ERROR: Increased version to %s, but RPM doesn't agree!?!" % version return False @@ -497,6 +497,7 @@ class SpecFile(object): # mgarepo sync returns 1 if the tarball cannot be downloaded if e.returncode != 1: self._revert_changes() + print >>sys.stderr, "ERROR: Could not download tarball" return False else: # failed to download tarball |