6096: update POTFILES.in, try to handle entries on python script

svn: r20567
This commit is contained in:
Jérôme Rapinat
2012-10-16 18:39:40 +00:00
parent ad01d3fd07
commit 1a7862e848
2 changed files with 695 additions and 3 deletions

View File

@ -472,9 +472,7 @@ def create_filesfile():
full_filename = os.path.join(dirpath, filename)
#Skip the file if in POTFILES.skip
if full_filename[lentopdir:] in notinfiles:
continue
#Add the file
infiles['../gramps' + full_filename[lentopdir:]] = None
infiles['../gramps' + full_filename[lentopdir:]] = None
#now we write out all the files in form ../gramps/filename
f = open('tmpfiles', 'w')
for file in sorted(infiles.keys()):