[Zope-CVS] CVS: Products/ExternalEditor/Plugins - winword.py:1.2
Casey Duncan
casey@zope.com
Fri, 29 Nov 2002 00:30:47 -0500
Update of /cvs-repository/Products/ExternalEditor/Plugins
In directory cvs.zope.org:/tmp/cvs-serv15165
Modified Files:
winword.py
Log Message:
Fix tabbing and update error message
=== Products/ExternalEditor/Plugins/winword.py 1.1 => 1.2 ===
--- Products/ExternalEditor/Plugins/winword.py:1.1 Fri Nov 29 00:15:20 2002
+++ Products/ExternalEditor/Plugins/winword.py Fri Nov 29 00:30:46 2002
@@ -34,7 +34,7 @@
except:
i += 1
if i >= timeout:
- raise RuntimeError('Could not launch Homesite.')
+ raise RuntimeError('Could not launch Word.')
sleep(1)
else:
break
@@ -47,8 +47,8 @@
def isAlive(self):
"""Returns true if the editor process is still alive"""
- head, tail = os.path.split(self.file)
- head, tail = head.lower(), tail.lower()
+ head, tail = os.path.split(self.file)
+ head, tail = head.lower(), tail.lower()
for doc in self.wordapp.Documents:
if head == doc.Path.lower() and tail == doc.Name.lower():
return 1