[PATCH] hgext/zeroconf/__init__.py: Separate relative and absolute imports

Martin Geisler mg at lazybytes.net
Mon Jun 14 18:00:44 CDT 2010


Renato Cunha <renatoc at gmail.com> writes:

> # HG changeset patch
> # User Renato Cunha <renatoc at gmail.com>
> # Date 1276545380 10800
> # Node ID 30ab19b7513c20ce8483eccf62eb5f5e3429a062
> # Parent  5bf46516063236efd8a2646643dba9ad3487a109
> hgext/zeroconf/__init__.py: Separate relative and absolute imports.

Uhh, a low-hanging piece of fruit, nice! :-)

> 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.

Sounds good, I pushed this to crew as 938fefb57db5. Thanks!

-- 
Martin Geisler

See my Mercurial presentation: http://vimeo.com/11497288
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100615/81fd2099/attachment.pgp>


More information about the Mercurial-devel mailing list