minor comment added

This commit is contained in:
Miroslav Stampar 2010-09-09 14:08:53 +00:00
parent 53289c6a42
commit 61120b0bac

View File

@ -1402,7 +1402,7 @@ def getUnicode(value, encoding=None):
if isinstance(value, basestring):
return value if isinstance(value, unicode) else unicode(value, encoding, errors='replace')
else:
return unicode(value)
return unicode(value) #encoding ignored for non-basestring instances
def getBruteUnicode(string):
retVal = unicode()