summaryrefslogtreecommitdiff
path: root/morphlib/localrepocache.py
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-04-12 15:31:04 +0100
committerBaserock Gerrit <gerrit@baserock.org>2015-04-22 10:20:25 +0000
commitaa6dfcbb70c03dfeb3f9af02283aa1ab83667162 (patch)
tree653dbc48e9f18228981902f0b493b3301ff503bb /morphlib/localrepocache.py
parent124e2f1b68a5176dcb3bf37543d4d9ff26a14b95 (diff)
downloadmorph-aa6dfcbb70c03dfeb3f9af02283aa1ab83667162.tar.gz
Use --verbose/-v to show build output, --debug/-d for morph debug
Its going to be more likely that a baserock user is more interesed in the build log than actually the debug output from morph. And also the intuitive option would be to use -v for this. --verbose/-v: show build output --debug/-d: show morph debug output Change-Id: I1fb99034dc8680a5f168f6306724663aea33ebc5
Diffstat (limited to 'morphlib/localrepocache.py')
-rw-r--r--morphlib/localrepocache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/localrepocache.py b/morphlib/localrepocache.py
index 4fc3916a..53f3d5a4 100644
--- a/morphlib/localrepocache.py
+++ b/morphlib/localrepocache.py
@@ -118,7 +118,7 @@ class LocalRepoCache(object):
self._app.status(msg="Trying to fetch %(tarball)s to seed the cache",
tarball=url, chatty=True)
- if self._app.settings['verbose']:
+ if self._app.settings['debug']:
verbosity_flags = []
kwargs = dict(stderr=sys.stderr)
else:
@@ -212,7 +212,7 @@ class LocalRepoCache(object):
try:
self._git(['clone', '--mirror', '-n', repourl, target],
- echo_stderr=self._app.settings['verbose'])
+ echo_stderr=self._app.settings['debug'])
except cliapp.AppException as e:
errors.append('Unable to clone from %s to %s: %s' %
(repourl, target, e))