1
0
Fork 0
mirror of https://github.com/ejwa/gitinspector.git synced 2025-03-20 07:18:18 +01:00

Localized error message in the basedir module.

This commit is contained in:
Adam Waldenberg 2014-11-27 12:16:42 +01:00
parent d315829e9d
commit bc9fd8b207

View file

@ -38,7 +38,7 @@ def get_basedir_git():
isbare = sp.stdout.readlines()
sp.wait()
if sp.returncode != 0:
sys.exit("Error processing git repository at \"%s\"" % os.getcwd())
sys.exit(_("Error processing git repository at \"%s\"." % os.getcwd()))
isbare = (isbare[0].decode("utf-8", "replace").strip() == "true")
absolute_path = ""