Exemple #1
0
 def clear_one_ceil(self, line):
     return unicoder(line).replace('"', '""')
def sfunction(frame,exR):
    return unicoder(frame['function'])
def etype(exception):
    return unicoder(type(exception))
def estr(exception):
    return unicoder(exception)
def unicoder_truncate(var,length):
    
    value = unicoder(var)
    if len(value)>length:
        return value[0:length]+'...'
    return value
def slineno(frame,exR):
    return unicoder(frame['lineno'])