On Tue, Apr 14, 2009 at 11:02 PM, Mads Kiilerich <[email protected]> wrote: > # HG changeset patch > # User Mads Kiilerich <[email protected]> > # Date 1239750129 -7200 > # Node ID c6d3fe0afabcf6e9c7fc9a3666e74a4efbb37b19 > # Parent ee7293383d6bec98567ac26c2dbf9b1956852a0c > thgutil: Don't import *
Just wondering. What's wrong with importing *? BTW, the comment isn't very accurate, IMO. > diff --git a/tortoise/menuthg.py b/tortoise/menuthg.py > --- a/tortoise/menuthg.py > +++ b/tortoise/menuthg.py > @@ -5,7 +5,7 @@ > > import os > import cachethg > -from thgutil import * > +import thgutil > from mercurial import hg, ui > from mercurial.i18n import _ > > @@ -122,7 +122,7 @@ > > > def open_repo(path): > - root = find_root(path) > + root = thgutil.find_root(path) > if root: > try: > repo = hg.repository(ui.ui(), path=root) > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Tortoisehg-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop > ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Tortoisehg-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop
