components/python/pybonjour/patches/pybonjour-python3.patch
changeset 1907 446472de62e9
child 5341 acafdc8d7dfc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/pybonjour/patches/pybonjour-python3.patch	Mon May 19 07:37:20 2014 -0700
@@ -0,0 +1,14 @@
+This patch is for Python 3 compatibility.  It has not been submitted upstream,
+as the community appears to have gone dormant.
+
+--- pybonjour-1.1.1/pybonjour.py-orig	2013-02-13 04:39:03.391680773 -0600
++++ pybonjour-1.1.1/pybonjour.py	2013-02-13 04:39:15.452208372 -0600
+@@ -804,7 +804,7 @@ def _create_function_bindings():
+         }
+ 
+ 
+-    for name, (restype, errcheck, outparam, argtypes) in specs.iteritems():
++    for name, (restype, errcheck, outparam, argtypes) in specs.items():
+         prototype = _CFunc(restype, *argtypes)
+ 
+         paramflags = [1] * len(argtypes)