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 755794 - Window: Fix unpacking of the decoration layout gtk setting
Window: Fix unpacking of the decoration layout gtk setting
Status: RESOLVED FIXED
Product: gnome-tweak-tool
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME Tweak Tool maintainer(s)
GNOME Tweak Tool maintainer(s)
: 757133 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-09-29 14:54 UTC by Rui Matos
Modified: 2015-10-26 16:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Window: Fix unpacking of the decoration layout gtk setting (1.53 KB, patch)
2015-09-29 14:54 UTC, Rui Matos
committed Details | Review

Comment 1 Rui Matos 2015-09-29 14:54:15 UTC
Created attachment 312364 [details] [review]
Window: Fix unpacking of the decoration layout gtk setting

Python's string.split() method's maxsplit argument specifies the
number of splits so we only want one here and if the string doesn't
contain the separator, the resulting list has only one element which
means that tokens[1] results in an IndexError.
Comment 2 Rui Matos 2015-09-29 14:56:35 UTC
Attachment 312364 [details] pushed as 3f40999 - Window: Fix unpacking of the decoration layout gtk setting
Comment 3 Rui Matos 2015-10-26 16:49:08 UTC
*** Bug 757133 has been marked as a duplicate of this bug. ***