Commit 77e0ea94 authored by Tristan Cavelier's avatar Tristan Cavelier

XXX Add some prints to OOoServerProxy

parent 04534890
......@@ -90,6 +90,7 @@ class OOoServerProxy(ServerProxy):
if uri in ('', None):
address = preference_tool.getPreferredOoodocServerAddress()
port = preference_tool.getPreferredOoodocServerPortNumber()
print("TRISTAN OOoServerProxy Cloudooo using old conf")
if address in ('', None) or port in ('', None) :
raise ConversionError('OOoDocument: cannot proceed with conversion:'
' conversion server url is not defined in preferences')
......@@ -106,6 +107,7 @@ class OOoServerProxy(ServerProxy):
else:
raise ConversionError('OOoDocument: cannot proceed with conversion:'
' preferred conversion server url is invalid')
print("TRISTAN OOoServerProxy Cloudooo uri %s" % (uri,))
timeout = preference_tool.getPreferredOoodocServerTimeout() \
or OOO_SERVER_PROXY_TIMEOUT
......
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