fix const.progName to const.program_name
svn: r6222
This commit is contained in:
parent
5218a9d125
commit
f0c7f6bd61
@ -877,7 +877,7 @@ class ODFDoc(BaseDoc.BaseDoc):
|
||||
self.meta.write('office:version="1.0">\n');
|
||||
self.meta.write('<office:meta>\n')
|
||||
self.meta.write('<meta:generator>')
|
||||
self.meta.write(const.progName + ' ' + const.version)
|
||||
self.meta.write(const.program_name + ' ' + const.version)
|
||||
self.meta.write('</meta:generator>\n')
|
||||
self.meta.write('<dc:title>')
|
||||
# It should be reasonable to have a true document title. but how ?
|
||||
|
@ -772,7 +772,7 @@ class OpenOfficeDoc(BaseDoc.BaseDoc):
|
||||
self.meta.write('office:version="0.9">\n');
|
||||
self.meta.write('<office:meta>\n')
|
||||
self.meta.write('<meta:generator>')
|
||||
self.meta.write(const.progName + ' ' + const.version)
|
||||
self.meta.write(const.program_name + ' ' + const.version)
|
||||
self.meta.write('</meta:generator>\n')
|
||||
self.meta.write('<meta:initial-creator>')
|
||||
self.meta.write(self.name)
|
||||
|
@ -448,7 +448,7 @@ class OpenSpreadSheet(SpreadSheetDoc):
|
||||
self.f.write('office:class="text" office:version="0.9">\n');
|
||||
self.f.write('<office:meta>\n')
|
||||
self.f.write('<meta:generator>')
|
||||
self.f.write(const.progName + ' ' + const.version)
|
||||
self.f.write(const.program_name + ' ' + const.version)
|
||||
self.f.write('</meta:generator>\n')
|
||||
self.f.write('<meta:initial-creator>')
|
||||
self.f.write(self.name)
|
||||
|
Loading…
Reference in New Issue
Block a user