[PATCH] Support for unknowns in specified directory in status
Martin Pool
martinpool at gmail.com
Thu Sep 29 03:27:30 BST 2005
On 29/09/05, Alexander Belchenko <bialix at ukr.net> wrote:
> Heikki Paajanen пишет:
> > Thanks! Here's updated version. Hopefully more sane.
>
> > === modified file 'bzrlib/status.py'
> > --- bzrlib/status.py
> > +++ bzrlib/status.py
> > @@ -44,6 +44,7 @@
> > If two revisions show status between first and second.
> > """
> > import sys
> > + import osutils
>
> Please, don't use not fully qualified module names for internal bzrlib
> modules. If you wish short-typing use either:
>
> import bzrlib.osutils as osutils
>
> or
>
> from bzrlib import osutils
>
> This rule has been mentioned in HACKING guideline of bzr, and I think it
> have the real advantages.
Thanks Alexander. In fact rather than importing as osutils I'd suggest just
from bzrlib.osutils import is_inside
--
Martin
More information about the bazaar
mailing list