[Erp5-report] r41886 gabriel - /erp5/trunk/utils/cloudooo/cloudooo/application/openoffice.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 30 17:30:12 CET 2010


Author: gabriel
Date: Thu Dec 30 17:30:11 2010
New Revision: 41886

URL: http://svn.erp5.org?rev=41886&view=rev
Log:
add exception because psutil have one issue to read some comand lines. the exception is raised when the property exe is accessed

Modified:
    erp5/trunk/utils/cloudooo/cloudooo/application/openoffice.py

Modified: erp5/trunk/utils/cloudooo/cloudooo/application/openoffice.py
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/application/openoffice.py?rev=41886&r1=41885&r2=41886&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/application/openoffice.py [utf8] (original)
+++ erp5/trunk/utils/cloudooo/cloudooo/application/openoffice.py [utf8] Thu Dec 30 17:30:11 2010
@@ -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))
 



More information about the Erp5-report mailing list