Commit 6eb152d3 authored by Gabriel Monnerat's avatar Gabriel Monnerat

add exception because psutil have one issue to read some comand lines. the...

add exception because psutil have one issue to read some comand lines. the exception is raised when the property exe is accessed

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@41886 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0af82759
......@@ -115,6 +115,9 @@ class OpenOffice(Application):
process.terminate()
except psutil.error.AccessDenied, e:
logger.error(e)
except TypeError, e:
# exception to prevent one psutil issue with svn processes
logger.error(e)
except NotImplementedError, e:
logger.error("lsof isn't installed on this machine: " + str(e))
......
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