[ostree] ostbuild: Fix previous commit (this should have been amended)



commit 6aaa2089f02c9f8ea822907c19c1fbd6de9d6faa
Author: Colin Walters <walters verbum org>
Date:   Fri Jun 8 16:51:51 2012 -0400

    ostbuild: Fix previous commit (this should have been amended)

 src/ostbuild/pyostbuild/vcs.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/vcs.py b/src/ostbuild/pyostbuild/vcs.py
index 45a5c4a..85f2f85 100755
--- a/src/ostbuild/pyostbuild/vcs.py
+++ b/src/ostbuild/pyostbuild/vcs.py
@@ -145,7 +145,7 @@ def fetch(mirrordir, keytype, uri, branch, keep_going=False):
     mirror = buildutil.get_mirrordir(mirrordir, keytype, uri)
     last_fetch_path = get_lastfetch_path(mirrordir, keytype, uri, branch)
     run_sync(['git', 'fetch'], cwd=mirror, log_initiation=False,
-             none_on_error=keep_going) 
+             fatal_on_error=not keep_going) 
     current_vcs_version = run_sync_get_output(['git', 'rev-parse', branch], cwd=mirror)
     if current_vcs_version is not None:
         current_vcs_version = current_vcs_version.strip()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]