projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c49b6c1
)
Marre de se faire chier avec des lubies de geeks…
author
Benoît Pin
<benoit.pin@gmail.com>
Tue, 30 Sep 2014 20:14:17 +0000
(22:14 +0200)
committer
Benoît Pin
<benoit.pin@gmail.com>
Tue, 30 Sep 2014 20:14:17 +0000
(22:14 +0200)
__init__.py
patch
|
blob
|
history
diff --git
a/__init__.py
b/__init__.py
index
b269824
..
52eaef5
100755
(executable)
--- a/
__init__.py
+++ b/
__init__.py
@@
-94,21
+94,10
@@
def initialize(registrar) :
# Monkey...
# all tags are good !
# 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,
- 'form' : 1,
- 'input' : 1,
- 'textarea' : 1}
-
-validTags.update(VALID_TAGS)
-
+class YesDict(dict):
+ def has_key(self, k) : return True
default_cmf_utils.NASTY_TAGS = {}
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
# the plinn portal_calendar is a also a "SPECIAL PROVIDER"
# TODO: vérifier l'impact