# HG changeset patch # User Renato Cunha # Date 1276545380 10800 # Node ID 938fefb57db50cfdb4576fba0a4135def2b0abf0 # Parent 744d5b73f77656431d22933b8af7854ac4e7e7e2 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. diff -r 744d5b73f776 -r 938fefb57db5 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