Menu

Commit [r18903]  Maximize  Restore  History

Fix for a nasty bug introduced at r18901.

The string decode() method was being called for the version.url() and version.revision() functions
to handle Python 3. However this was causing strings in Python 2 to be converted to unicode, which
then caused the saving of XML state files to fail. Now the version information is explicitly
converted to a string using the str() builtin function.

bugman 2013-03-20

changed /trunk/version.py
/trunk/version.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.