/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Martin Pool
  • Date: 2011-05-20 14:46:02 UTC
  • mto: This revision was merged to the branch mainline in revision 5923.
  • Revision ID: mbp@canonical.com-20110520144602-bqli0t6dj01gl0pv
Various pyflakes import fixes.

Some modules were used for subclassing or at module load time, so there is no
point loading them lazily.

Some were not imported when they should be.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
from bzrlib import (
34
34
    branch as _mod_branch,
35
35
    cleanup,
36
 
    config,
37
 
    controldir,
38
36
    errors,
39
37
    fetch,
40
38
    graph,
65
63
    )
66
64
 
67
65
from bzrlib import (
 
66
    config,
 
67
    controldir,
68
68
    hooks,
69
69
    registry,
70
70
    )
1416
1416
    @classmethod
1417
1417
    def get_format_string(cls):
1418
1418
        """Return the ASCII format string that identifies this format."""
1419
 
        raise NotImplementedError(self.get_format_string)
 
1419
        raise NotImplementedError(cls.get_format_string)
1420
1420
 
1421
1421
    def initialize_on_transport(self, transport):
1422
1422
        """Initialize a new bzrdir in the base directory of a Transport."""