[PATCH] Support for unknowns in specified directory in status

Alexander Belchenko bialix at ukr.net
Wed Sep 28 17:35:13 BST 2005


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.

Alexander





More information about the bazaar mailing list