After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 690363 - port to python3
port to python3
Status: RESOLVED FIXED
Product: adwaita-icon-theme
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jakub Steiner
Jakub Steiner
Depends on:
Blocks:
 
 
Reported: 2012-12-17 17:36 UTC by Matthias Clasen
Modified: 2013-02-25 14:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (2.97 KB, patch)
2012-12-17 17:36 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2012-12-17 17:36:26 UTC
Created attachment 231749 [details] [review]
patch

There's a render-icon-theme.py python script that needs some minimal porting.
See the attached patch
Comment 1 Matthias Clasen 2013-01-01 19:15:03 UTC
Basically the same patch should apply to gnome-icon-theme-extras
Comment 2 Benjamin Berg 2013-02-25 14:04:51 UTC
There was a small issue because the strings read back from inkscape were byte strings.

I added an explicit .encode('UTF-8') and changed the read bytes to be compared to a binary data type.
The working script is pushed to both gnome-icon-theme and gnome-icon-theme-extras.