GNOME Bugzilla – Bug 531577
get rid of twister.util.OrderedDict scangobj-merge.py
Last modified: 2008-05-06 08:03:36 UTC
Twisted is not in jhbuild, this patch could help to get rid of the twisted dependency. patch to replace "from twisted.python import util" with http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/107747 version (using dict directly), follow
Created attachment 110411 [details] [review] get rid of twisted
oups, the patch should include the link, I think
Looks good but what's the license of the ordered dictionary code?
from http://aspn.activestate.com/ASPN/Python/Cookbook/ Except where otherwise noted, recipes in the Python Cookbook are published under the Python license . http://www.python.org/psf/license/
Thanks, committed your patch. Only change I did is mentioning from where the ordered dict class is based on and the license. 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org> Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com> * scangobj-merge.py: Don't depend on Twisted just for the OrderedDict but implement our own ordered dictionary class. Fixes bug #531577.