Mercurial > hg
diff hgext/zeroconf/__init__.py @ 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 | c9b4e9431af7 |
children | 6bfb76cb8873 |
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