update_po allow comment in the list of files to translate

svn: r20502
This commit is contained in:
Benny Malengier 2012-10-03 12:33:32 +00:00
parent 2411f22310
commit 54f78b6358
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#list of all files with to translate strings
../gramps/grampsapp.py
../gramps/cli/arghandler.py
../gramps/cli/argparser.py
@ -659,6 +660,7 @@
../gramps/plugins/tool/leak.glade
../gramps/plugins/tool/finddupes.glade
../gramps/plugins/tool/mergecitations.glade
# TEST
../gramps/plugins/tool/ownereditor.glade
../gramps/plugins/tool/patchnames.glade
../gramps/plugins/tool/phpgedview.glade

View File

@ -284,7 +284,7 @@ def listing(name, extensionlist):
"""
f = open('gramps')
files = [file.strip() for file in f]
files = [file.strip() for file in f if file and not file[0]=='#']
f.close()
temp = open(name, 'w')