X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/fc06e9578d3d8b09689be7c58a92eec7b0175a57..077c4d9810b96d4b949e77f3daa0180c9d4a8c96:/__init__.py diff --git a/__init__.py b/__init__.py index fe63530..52eaef5 100755 --- a/__init__.py +++ b/__init__.py @@ -94,16 +94,10 @@ def initialize(registrar) : # Monkey... # all tags are good ! -validTags = default_cmf_utils.NASTY_TAGS.copy() -for tag in validTags.keys() : - validTags[tag] = 1 - -VALID_TAGS = {'font': 1, 'param' : 1, 'iframe' : 1} - -validTags.update(VALID_TAGS) - +class YesDict(dict): + def has_key(self, k) : return True default_cmf_utils.NASTY_TAGS = {} -default_cmf_utils.VALID_TAGS.update(validTags) +default_cmf_utils.VALID_TAGS = YesDict() # the plinn portal_calendar is a also a "SPECIAL PROVIDER" # TODO: vérifier l'impact