Changeset 1778 for pykota/trunk
- Timestamp:
- 10/05/04 12:05:04 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/sql.py
r1777 r1778 22 22 # 23 23 # $Log$ 24 # Revision 1.54 2004/10/05 10:05:04 jalet 25 # UnicodeEncodeError isn't defined in Python2.1 26 # 24 27 # Revision 1.53 2004/10/05 09:59:20 jalet 25 28 # Restore compatibility with Python 2.1 … … 110 113 try : 111 114 fields[j] = unicode(field, "UTF-8").encode(self.tool.getCharset()) 112 except UnicodeE ncodeError : # takes care of old jobs in history not stored as UTF-8115 except UnicodeError : # takes care of old jobs in history not stored as UTF-8 113 116 pass 114 117 entries[i] = tuple(fields)