Commit 12bc6b98 authored by Nicolas Dumazet's avatar Nicolas Dumazet

wrong file was committed in r41741, sorry.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41742 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f3a03935
......@@ -424,7 +424,7 @@ class SubversionTool(BaseTool):
wc_list = self.getPortalObject().portal_preferences\
.getPreferredSubversionWorkingCopyList()
if not wc_list or len(wc_list) == 0 :
LOG('SubvertionTool', WARNING,
LOG('SubversionTool', WARNING,
'working copy path is not specified in preferences. '
'<instance_home>/bt5 directory is used by default.')
instance_home = getConfiguration().instancehome
......
......@@ -1367,7 +1367,6 @@ def setDefaultProperties(property_holder, object=None, portal=None):
if isinstance(write_permission, Expression):
write_permission = write_permission(econtext)
if prop['type'] not in type_definition:
import pdb; pdb.set_trace()
raise TypeError, '"%s" is invalid type for propertysheet' % \
prop['type']
if 'base_id' in prop:
......
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