D13641: [KCharSelect] Port generate-datafile.py to Python 3

Christoph Feck noreply at phabricator.kde.org
Wed Jun 20 23:03:30 UTC 2018


cfeck created this revision.
cfeck added a reviewer: Frameworks.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
cfeck requested review of this revision.

REVISION SUMMARY
  - Add missing parentheses for print()
  - Writing strings to the data file requires encode()
  - Replace "map.has_key(key)" with "key in map"

TEST PLAN
  Tested with Unicode 11.0 data.

REPOSITORY
  R236 KWidgetsAddons

REVISION DETAIL
  https://phabricator.kde.org/D13641

AFFECTED FILES
  src/kcharselect-generate-datafile.py

To: cfeck, #frameworks
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180620/e2887c28/attachment.html>


More information about the Kde-frameworks-devel mailing list