equal
deleted
inserted
replaced
43 """display the command, execute it and raise an Exception if returned |
43 """display the command, execute it and raise an Exception if returned |
44 status != 0 |
44 status != 0 |
45 """ |
45 """ |
46 print cmd.replace(os.getcwd() + os.sep, '') |
46 print cmd.replace(os.getcwd() + os.sep, '') |
47 from subprocess import call |
47 from subprocess import call |
48 status = call(cmd) |
48 status = call(cmd, shell=True) |
49 if status != 0: |
49 if status != 0: |
50 raise Exception('status = %s' % status) |
50 raise Exception('status = %s' % status) |
51 |
51 |
52 |
52 |
53 def available_catalogs(i18ndir=None): |
53 def available_catalogs(i18ndir=None): |