Remove some debugging prints

This commit is contained in:
ZyX 2014-11-04 16:41:16 +03:00
parent 491ac113fb
commit fe3bebc609
1 changed files with 0 additions and 2 deletions

View File

@ -138,11 +138,9 @@ def uses(pl, args):
for sh in (shell, 'shell') if shell else ('shell'):
varname = template.format(shell=sh.upper(), component=component.upper())
if os.environ.get(varname):
print ('HERE')
sys.exit(1)
config = get_main_config(args)
if component in config.get('ext', {}).get('shell', {}).get('components', ('tmux', 'prompt')):
sys.exit(0)
else:
print ('THERE')
sys.exit(1)