hgext/zeroconf/__init__.py: Separate relative and absolute imports.
authorRenato Cunha <renatoc@gmail.com>
Mon, 14 Jun 2010 16:56:20 -0300
changeset 11340 938fefb57db5
parent 11339 744d5b73f776
child 11341 920a783e5f91
hgext/zeroconf/__init__.py: Separate relative and absolute imports. 2to3 complains when relative and absolute imports are mixed, this fix just separates them on the zeroconf extension. According to 2to3, the other modules are fine.
hgext/zeroconf/__init__.py
--- a/hgext/zeroconf/__init__.py	Fri Jun 11 15:30:12 2010 -0500
+++ b/hgext/zeroconf/__init__.py	Mon Jun 14 16:56:20 2010 -0300
@@ -23,7 +23,9 @@
   zc-test = http://example.com:8000/test
 '''
 
-import Zeroconf, socket, time, os
+import socket, time, os
+
+import Zeroconf
 from mercurial import ui, hg, encoding
 from mercurial import extensions
 from mercurial.hgweb import hgweb_mod