Skip to content

Commit

Permalink
fix paths in generate_commits.py
Browse files Browse the repository at this point in the history
  • Loading branch information
stefankoegl committed Mar 30, 2014
1 parent dc71ff3 commit fb0ac94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/i18n/generate_commits.py
Expand Up @@ -13,7 +13,7 @@
filenames = []

pofiles = os.path.join(os.path.dirname(os.path.abspath(__file__)),
'..', '..', 'mygpo', 'locale', '*', 'LC_MESSAGES', 'django.po')
'..', '..', '..', 'mygpo', 'locale', '*', 'LC_MESSAGES', 'django.po')

process = subprocess.Popen(['git', 'status', '--porcelain'] +
glob.glob(pofiles), stdout=subprocess.PIPE)
Expand All @@ -28,7 +28,7 @@
translators = []
language = None

filename = os.path.join('..', filename)
filename = os.path.join('..', '..', filename)
for line in open(filename).read().splitlines():
if line.startswith('# Translators:'):
in_translators = True
Expand Down

0 comments on commit fb0ac94

Please sign in to comment.