# The e-mail addresses of the maintainers will be collected to
# the auxiliary file in the order of translator classes listed
# in the translator report.
fmail=open('mailto.txt','w')
fmail=xopen('mailto.txt','w')
# Write the list of "up-to-date" translator classes.
ifself.upToDateIdLst:
...
...
@@ -1754,7 +1720,7 @@ class TrManager:
self.lastModificationTime=tim
# Process the content of the maintainers file.
f=codecs.open(fname,'r','utf-8')
f=xopen(fname)
inside=False# inside the record for the language
lineReady=True
classId=None
...
...
@@ -1818,11 +1784,11 @@ class TrManager:
#
# Read the template of the documentation, and remove the first
# attention lines.
f=codecs.open(fTplName,'r','utf-8')
f=xopen(fTplName)
doctpl=f.read()
f.close()
pos=doctpl.find('/***')
pos=doctpl.find(u'/***')
assertpos!=-1
doctpl=doctpl[pos:]
...
...
@@ -1830,21 +1796,21 @@ class TrManager:
# document template.
tplDic={}
s='Do not edit this file. It was generated by the %s script.\n * Instead edit %s and %s'%(self.script_name,self.languageTplFileName,self.maintainersFileName)
s=u'Do not edit this file. It was generated by the %s script. * Instead edit %s and %s'%(self.script_name,self.languageTplFileName,self.maintainersFileName)