Show traceback when invoking tx fails

This commit is contained in:
Kovid Goyal 2016-06-23 09:56:53 +05:30
parent b13f5db607
commit c1924546c4

View File

@ -33,7 +33,7 @@ class POT(Command): # {{{
kw['cwd'] = kw.get('cwd', self.TRANSLATIONS)
if hasattr(cmd, 'format'):
cmd = shlex.split(cmd)
return subprocess.check_call(['tx'] + cmd, **kw)
return subprocess.check_call(['tx', '--traceback'] + cmd, **kw)
def git(self, cmd, **kw):
kw['cwd'] = kw.get('cwd', self.TRANSLATIONS)