--- mga-gnome/trunk/mga-gnome 2012/02/22 16:06:51 3012 +++ mga-gnome/trunk/mga-gnome 2012/02/22 20:47:36 3034 @@ -154,10 +154,13 @@ print "ERROR: Increased version to %s, but RPM doesn't agree!?!" % version return False - # Download new tarball - subprocess.check_call(['mgarepo', 'sync', '-d'], cwd=self.cwd) - # Check patches still apply - subprocess.check_call(['bm', '-p', '--nodeps'], cwd=self.cwd) + try: + # Download new tarball + subprocess.check_call(['mgarepo', 'sync', '-d'], cwd=self.cwd) + # Check patches still apply + subprocess.check_call(['bm', '-p', '--nodeps'], cwd=self.cwd) + except subprocess.CalledProcessError: + return False return True