Updated codegen to work with python3.
authorSimon Feltman <s.feltman@gmail.com>
Thu, 14 Jun 2012 06:20:17 +0000 (23:20 -0700)
committerColin Walters <walters@verbum.org>
Sun, 1 Jul 2012 15:14:54 +0000 (11:14 -0400)
commit03611f7c0670ea14eedbc121972aed7ce60bb9ee
tree8c29babbd054bb2a7e3cda105f466998387856fa
parent6d5484b2962c2a365983e8a37295f298909bca00
Updated codegen to work with python3.

Most changes were just replacing usage of "has_key" with "in".
Also updated the sorting function which was simplified and
changed to a "key" function instead of "cmp" (which is no longer
supported in python3. Verified everything builds with
python 2.7 and 3.

https://bugzilla.gnome.org/show_bug.cgi?id=678066
gio/gdbus-2.0/codegen/codegen.py
gio/gdbus-2.0/codegen/codegen_docbook.py
gio/gdbus-2.0/codegen/codegen_main.py
gio/gdbus-2.0/codegen/parser.py
gio/gdbus-2.0/codegen/utils.py