summaryrefslogtreecommitdiffstats
path: root/fedpkg-pull-build-chain
diff options
context:
space:
mode:
Diffstat (limited to 'fedpkg-pull-build-chain')
-rwxr-xr-xfedpkg-pull-build-chain16
1 files changed, 9 insertions, 7 deletions
diff --git a/fedpkg-pull-build-chain b/fedpkg-pull-build-chain
index a12ff4e..623a21e 100755
--- a/fedpkg-pull-build-chain
+++ b/fedpkg-pull-build-chain
@@ -167,14 +167,16 @@ def main():
args.extend(['pull-retarget', 'HEAD'])
try:
check_call_verbose(args, stdout=sys.stdout, stderr=sys.stderr, cwd=release_dir)
+ f = open('pull-status')
+ was_updated = f.readline() == 'updated'
+ f.close()
except subprocess.CalledProcessError, e:
- print "Failed: " + unicode(e)
- failed.append(arg)
- continue
-
- f = open('pull-status')
- was_updated = f.readline() == 'updated'
- f.close()
+ print "fedpkg-vcs failed: " + unicode(e)
+ if last_build_succeeded:
+ failed.append(arg)
+ continue
+ else:
+ was_updated = False
if not was_updated and last_build_succeeded:
print "No updates and have a previous successful build, nothing to do"