fix const.progName to const.program_name

svn: r6222
This commit is contained in:
Brian Matherly 2006-03-29 04:51:19 +00:00
parent 5218a9d125
commit f0c7f6bd61
3 changed files with 3 additions and 3 deletions

View File

@ -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 ?

View File

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

View File

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