Commit 0333b930 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Revert the patch.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4867 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e49d81b5
...@@ -41,7 +41,6 @@ from Products.ERP5Type.patches import FSZSQLMethod ...@@ -41,7 +41,6 @@ from Products.ERP5Type.patches import FSZSQLMethod
from Products.ERP5Type.patches import ActionInformation from Products.ERP5Type.patches import ActionInformation
from Products.ERP5Type.patches import ActionProviderBase from Products.ERP5Type.patches import ActionProviderBase
from Products.ERP5Type.patches import CookieCrumbler from Products.ERP5Type.patches import CookieCrumbler
from Products.ERP5Type.patches import URLTool
# These symbols are required for backward compatibility # These symbols are required for backward compatibility
from Products.ERP5Type.patches.PropertyManager import ERP5PropertyManager from Products.ERP5Type.patches.PropertyManager import ERP5PropertyManager
......
##############################################################################
#
# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
# Copyright (c) 2005 Nexedi SARL. All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
from Products.CMFCore.URLTool import URLTool
from urllib import quote
def URLTool_quote(self, string, **kw):
"""Quote a string according to RFC 2396.
"""
return quote(string, **kw)
URLTool.quote = URLTool_quote
...@@ -29,7 +29,7 @@ def initializeInstanceHome(tests_framework_home, real_instance_home, instance_ho ...@@ -29,7 +29,7 @@ def initializeInstanceHome(tests_framework_home, real_instance_home, instance_ho
if os.path.isdir('/usr/lib64/zope/lib/python'): if os.path.isdir('/usr/lib64/zope/lib/python'):
software_home = '/usr/lib64/zope/lib/python' software_home = '/usr/lib64/zope/lib/python'
else: else:
software_home = '/usr/lib/zope/lib/python' software_home = '/home/yo/tmp/zope-2.8/lib/python'
tests_framework_home = os.path.dirname(os.path.abspath(__file__)) tests_framework_home = os.path.dirname(os.path.abspath(__file__))
# handle 'system global' instance # handle 'system global' instance
......
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