mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-18 18:35:40 +01:00
Show traceback when invoking tx fails
This commit is contained in:
parent
b13f5db607
commit
c1924546c4
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ def tx(self, cmd, **kw):
|
|||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue