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