Update code for Python3
This commit is contained in:
@@ -437,7 +437,7 @@ def _toStr(v):
|
||||
if type(v) != unicode: return unicode(v)
|
||||
else: return v
|
||||
|
||||
def listToStr(l): return map(lambda(v) : _toStr(v), l)
|
||||
def listToStr(l): return map(lambda v : _toStr(v), l)
|
||||
|
||||
def generateHTMLLink(url, name=None, max_length=100, prefix=u'http'):
|
||||
url = unicode(url)
|
||||
|
||||
Reference in New Issue
Block a user