Commit 09168917 authored by Jérome Perrin's avatar Jérome Perrin

log the error when pysvn cannot be initialized


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25312 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0cf2518e
......@@ -29,7 +29,9 @@
from Acquisition import Implicit
import time, os
import time
import os
import sys
from Products.ERP5Type.Utils import convertToUpperCase
from MethodObject import Method
from Globals import InitializeClass
......@@ -376,6 +378,7 @@ try:
except ImportError:
from zLOG import LOG, WARNING
LOG('SubversionTool', WARNING,
'could not import pysvn; until pysvn is installed properly, this tool will not work.')
'could not import pysvn; until pysvn is installed properly,'
' this tool will not work.', error=sys.exc_info())
def newSubversionClient(container, **kw):
raise SubversionInstallationError, 'pysvn library is not installed'
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