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

@ -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')