Commit 3a25805e authored by Gabriel Monnerat's avatar Gabriel Monnerat

sorry, forgot add this part in r42110. Remove unnecessary quotes

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42112 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c35c56b6
...@@ -58,10 +58,10 @@ class TestUnoMimeMapper(CloudoooTestCase): ...@@ -58,10 +58,10 @@ class TestUnoMimeMapper(CloudoooTestCase):
command = [path.exists(python) and python or "python", command = [path.exists(python) and python or "python",
pkg_resources.resource_filename("cloudooo", pkg_resources.resource_filename("cloudooo",
"handler/ooo/helper/unomimemapper.py"), "handler/ooo/helper/unomimemapper.py"),
"'--uno_path=%s'" % self.uno_path, "--uno_path=%s" % self.uno_path,
"'--office_binary_path=%s'" % self.office_binary_path, "--office_binary_path=%s" % self.office_binary_path,
"'--hostname=%s'" % self.hostname, "--hostname=%s" % self.hostname,
"'--port=%s'" % self.openoffice_port] "--port=%s" % self.openoffice_port]
stdout, stderr = Popen(command, stdout, stderr = Popen(command,
stdout=PIPE, stdout=PIPE,
stderr=PIPE).communicate() stderr=PIPE).communicate()
...@@ -81,8 +81,8 @@ class TestUnoMimeMapper(CloudoooTestCase): ...@@ -81,8 +81,8 @@ class TestUnoMimeMapper(CloudoooTestCase):
command = [path.join(self.office_binary_path, "python"), command = [path.join(self.office_binary_path, "python"),
pkg_resources.resource_filename("cloudooo", pkg_resources.resource_filename("cloudooo",
"handler/ooo/helper/unomimemapper.py"), "handler/ooo/helper/unomimemapper.py"),
"'--hostname=%s'" % self.hostname, "--hostname=%s" % self.hostname,
"'--port=%s'" % self.openoffice_port] "--port=%s" % self.openoffice_port]
stdout, stderr = Popen(command, stdout, stderr = Popen(command,
stdout=PIPE, stdout=PIPE,
stderr=PIPE).communicate() stderr=PIPE).communicate()
...@@ -105,10 +105,10 @@ class TestUnoMimeMapper(CloudoooTestCase): ...@@ -105,10 +105,10 @@ class TestUnoMimeMapper(CloudoooTestCase):
command = [path.exists(python) and python or "python", command = [path.exists(python) and python or "python",
pkg_resources.resource_filename("cloudooo", pkg_resources.resource_filename("cloudooo",
"handler/ooo/helper/unomimemapper.py"), "handler/ooo/helper/unomimemapper.py"),
"'--uno_path=%s'" % self.uno_path, "--uno_path=%s" % self.uno_path,
"'--office_binary_path=%s'" % self.office_binary_path, "--office_binary_path=%s" % self.office_binary_path,
"'--hostname=%s'" % self.hostname, "--hostname=%s" % self.hostname,
"'--port=%s'" % self.openoffice_port] "--port=%s" % self.openoffice_port]
stdout, stderr = Popen(command, stdout, stderr = Popen(command,
stdout=PIPE, stdout=PIPE,
stderr=PIPE).communicate() stderr=PIPE).communicate()
......
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