summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec2012-10-07 20:07:54 (GMT)
committerBrian Dolbec2012-10-07 20:07:54 (GMT)
commit915e3c0865ecee24cb31ead94d573b397ae67c51 (patch)
treeb4ad382d7e25f629f508c9291e2e2e086c3bf946
parent4ec06a0babf271b1664d1850ebcd75a05d4e3599 (diff)
fix traceback caused by an extra level parameter in the error _output() calls. This caused the errors to not be printed. Bug 390127.
-rw-r--r--layman/overlays/source.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/layman/overlays/source.py b/layman/overlays/source.py
index 843edf4..2b79f2c 100644
--- a/layman/overlays/source.py
+++ b/layman/overlays/source.py
@@ -34,7 +34,7 @@ def _supported(key, check_supported=None):
def _resolve_command(command, _output):
if os.path.isabs(command):
if not os.path.exists(command):
- _output('Program "%s" not found' % command, 6)
+ _output('Program "%s" not found' % command)
return ('File', None)
return ('File', command)
else:
@@ -45,7 +45,7 @@ def _resolve_command(command, _output):
if os.path.exists(f):
return ('Command', f)
_output('Cound not resolve command ' +\
- '"%s" based on PATH "%s"' % (command, env_path), 6)
+ '"%s" based on PATH "%s"' % (command, env_path))
return ('Command', None)
@@ -56,7 +56,7 @@ def require_supported(binaries, _output):
if _output:
_output(kind + ' ' + command + ' seems to be missing!'
' Overlay type "' + mtype + '" not support'
- 'ed. Did you emerge ' + package + '?', 6)
+ 'ed. Did you emerge ' + package + '?')
return False
return True