Ticket #7075: r7450.diff
File r7450.diff, 511 bytes (added by , 17 years ago) |
---|
-
contrib/admin/views/main.py
57 57 quoting is slightly different so that it doesn't get automatically 58 58 unquoted by the Web browser. 59 59 """ 60 if type(s) != type(''): 60 if type(s) == type(''): 61 s = unicode(s) 62 if type(s) != type(u''): 61 63 return s 62 64 res = list(s) 63 65 for i in range(len(res)):