Commit 1c9c0417 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

rename according to the naming convention.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42202 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 95580393
...@@ -96,7 +96,7 @@ class OpenOffice(Application): ...@@ -96,7 +96,7 @@ class OpenOffice(Application):
self.uno_path = uno_path self.uno_path = uno_path
self.default_language = default_language self.default_language = default_language
def _start_process(self, command, env): def _startProcess(self, command, env):
"""Start OpenOffice.org process""" """Start OpenOffice.org process"""
self.process = Popen(command, self.process = Popen(command,
close_fds=True, close_fds=True,
...@@ -152,11 +152,11 @@ class OpenOffice(Application): ...@@ -152,11 +152,11 @@ class OpenOffice(Application):
env["DISPLAY"] = ":%s" % self.display_id env["DISPLAY"] = ":%s" % self.display_id
if socketStatus(self.hostname, self.port): if socketStatus(self.hostname, self.port):
self._releaseOpenOfficePort() self._releaseOpenOfficePort()
process_started = self._start_process(self.command, env) process_started = self._startProcess(self.command, env)
if not process_started: if not process_started:
self.stop() self.stop()
waitStopDaemon(self, self.timeout) waitStopDaemon(self, self.timeout)
self._start_process(self.command, env) self._startProcess(self.command, env)
self._cleanRequest() self._cleanRequest()
Application.start(self) Application.start(self)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment