Commit f24b1170 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

only fixing typos and cosmetic changes.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28773 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bc7bc15c
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
# Copyright (c) 2009 Nexedi SA and Contributors. All Rights Reserved.
# Jean-Paul Smets-Solanes <jp@nexedi.com>
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# garantees and support are strongly adviced to contract a Free Software
# guarantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
......@@ -231,7 +231,7 @@ class ConversionCacheMixin:
"""Generate proper cache id based on **kw.
Function inspired from ERP5Type.Cache
"""
return str(makeSortedTuple(kw)).translate(string.maketrans('', ''), """[]()<>'", """)
return str(makeSortedTuple(kw)).translate(string.maketrans('', ''), '[]()<>\'", ')
class PermanentURLMixIn(ExtensibleTraversableMixIn):
"""
......
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