Comment 7 for bug 646019

Revision history for this message
Marius Gedminas (mgedmin) wrote :

zodbbrowser uses IStorageUndoable's undoLog() which returns a list of dicts, and t.user is in those dicts as txn_info['user_name']. That would be easy to change.

For backwards compatibility why not use both?

   t.setUser(u.encode('UTF-8', 'replace')) # must be str
   t.setExtendedInfo('user', u) # unicode version