Blob Blame History Raw
diff -up system-config-printer-1.2.7/dnssdresolve.py.dnssdresolve system-config-printer-1.2.7/dnssdresolve.py
--- system-config-printer-1.2.7/dnssdresolve.py.dnssdresolve	2011-02-07 09:33:48.000000000 +0000
+++ system-config-printer-1.2.7/dnssdresolve.py	2011-02-22 13:52:00.908846074 +0000
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 
-## Copyright (C) 2010 Red Hat, Inc.
+## Copyright (C) 2010, 2011 Red Hat, Inc.
 ## Authors:
 ##  Tim Waugh <twaugh@redhat.com>
 
@@ -96,7 +96,7 @@ class DNSSDHostNamesResolver:
 
     def _reply (self, interface, protocol, name, stype, domain,
                 host, aprotocol, address, port, txt, flags):
-        uri = self._device_uri_by_name[(name, stype, domain)]
+        uri = self._device_uri_by_name[(name.encode ('utf-8'), stype, domain)]
         self._devices[uri].address = address
         hostname = host
         p = hostname.find(".")