source: trunk/dports/zope/zope-portaltransforms/files/patch-office_uno.py @ 7761

Last change on this file since 7761 was 6370, checked in by rshaw, 16 years ago

PortalTransforms product for Zope/Plone

Submitted by: rshaw

  • Property svn:eol-style set to native
File size: 840 bytes
Line 
1--- PortalTransforms/transforms/office_uno.py.orig      Mon Mar 15 15:01:49 2004
2+++ PortalTransforms/transforms/office_uno.py   Mon Mar 15 15:06:05 2004
3@@ -7,11 +7,11 @@
4     def __init__(self, name, data):
5         """Initialization: create tmp work directory and copy the
6         document into a file"""
7-            commandtransform.__init__(self, name)
8-            name = self.name()
9-            if not name.endswith('.doc'):
10-                name = name + ".doc"
11-            self.tmpdir, self.fullname = self.initialize_tmpdir(data, filename=name)
12+        commandtransform.__init__(self, name)
13+        name = self.name()
14+        if not name.endswith('.doc'):
15+            name = name + ".doc"
16+        self.tmpdir, self.fullname = self.initialize_tmpdir(data, filename=name)
17 
18     def convert(self):
19         "Convert the document"
Note: See TracBrowser for help on using the repository browser.