From 1a38be575d68278caff8647446255f92e3eabf79 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 11 May 2011 17:35:27 -0600 Subject: [PATCH] ... --- setup/resources.py | 4 ++-- src/odf/odf2xhtml.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup/resources.py b/setup/resources.py index 1501e28017..afa8829988 100644 --- a/setup/resources.py +++ b/setup/resources.py @@ -139,7 +139,7 @@ class Resources(Command): dest = self.j(self.RESOURCES, 'localization', 'pykakasi','itaijidict2.pickle') - if self.newer(dest, src): + if self.newer(dest, src) or iswindows: self.info('\tGenerating Itaijidict') self.mkitaiji(src, dest) @@ -147,7 +147,7 @@ class Resources(Command): dest = self.j(self.RESOURCES, 'localization', 'pykakasi','kanadict2.pickle') - if self.newer(dest, src): + if self.newer(dest, src) or iswindows: self.info('\tGenerating kanadict') self.mkkanadict(src, dest) diff --git a/src/odf/odf2xhtml.py b/src/odf/odf2xhtml.py index 0ae89b1663..b1dbebb775 100644 --- a/src/odf/odf2xhtml.py +++ b/src/odf/odf2xhtml.py @@ -1415,7 +1415,7 @@ ol, ul { padding-left: 2em; } self.writedata() c = attrs.get( (TEXTNS,'style-name'), None) htmlattrs = {} - # Changed by Kovid to handle inline apecial styles defined on tags. + # Changed by Kovid to handle inline special styles defined on tags. # Apparently LibreOffice does this. special = 'span' if c: @@ -1433,7 +1433,7 @@ ol, ul { padding-left: 2em; } """ End the """ self.writedata() c = attrs.get( (TEXTNS,'style-name'), None) - # Changed by Kovid to handle inline apecial styles defined on tags. + # Changed by Kovid to handle inline special styles defined on tags. # Apparently LibreOffice does this. special = 'span' if c: