Commit cc16b385 authored by Alexandre Boeglin's avatar Alexandre Boeglin

fixed bad syntax


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9785 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9cc5cfd1
......@@ -736,8 +736,8 @@ class SubversionTool(BaseTool, UniqueObject, Folder):
real_path = os.path.abspath(path)
if not real_path.startswith(self.top_working_path) and \
not real_path.startswith(gettempdir()):
raise UnauthorizedAccessToPath, 'Unauthorized access to path %s. It is '
'NOT in your Zope home instance.' % real_path
raise UnauthorizedAccessToPath, 'Unauthorized access to path %s.' \
'It is NOT in your Zope home instance.' % real_path
return real_path
security.declareProtected('Import/Export objects', 'update')
......
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