Useless call to decode
In http://hg.tryton.org/tryton/file/a39ea11bf279/tryton/gui/window/dblogin.py#l404 :
image.set_from_file(os.path.join(PIXMAPS_DIR, 'tryton.png').decode('utf-8'))
"os.path.join" returns an unicode, so call to "decode" is useless.
Files
Download | Creator | Timestamp | Type |
---|---|---|---|
issue2970_single_with_patch_without_chinese.jpg | @pilou_2 | 2013-03-15 10:24:13.938000 UTC | image/jpeg |
issue2970_setup_with_patch_without_chinese.jpg | @pilou_2 | 2013-03-15 10:53:42.787000 UTC | image/jpeg |
issue2970_source_with_patch_without_chinese.jpg | @pilou_2 | 2013-03-15 10:54:01.278000 UTC | image/jpeg |