running lib2to3.fixes.fix_has_key

This commit is contained in:
ilvalle
2016-05-29 08:31:20 +02:00
parent 9588ba690c
commit 02e0cd187a
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ from gluon.html import XML
def WIKI(text, encoding="utf8", safe_mode='escape', html4tags=False, **attributes):
if not text:
test = ''
if attributes.has_key('extras'):
if 'extras' in attributes:
extras = attributes['extras']
del attributes['extras']
else: