changeset 11340:938fefb57db5

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.
author Renato Cunha <renatoc@gmail.com>
date Mon, 14 Jun 2010 16:56:20 -0300
parents 744d5b73f776
children 920a783e5f91
files hgext/zeroconf/__init__.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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