running lib2to3.fixes.fix_has_key
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user