~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-02-25 02:01:51 UTC
  • mfrom: (5676.1.10 per_interrepo-extra)
  • Revision ID: pqm@pqm.ubuntu.com-20110225020151-tlqdjbxfv5byh7l7
(jelmer) Allow repositories to provide extra combinations to run
 bzrlib.tests.per_interrepo with. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
"""
28
28
 
29
29
from cStringIO import StringIO
30
 
import re
31
30
import sys
32
31
 
33
32
from bzrlib.lazy_import import lazy_import
84
83
    modules = set()
85
84
    for prefix, factory_list in transport_list_registry.items():
86
85
        for factory in factory_list:
87
 
            if hasattr(factory, "_module_name"):
88
 
                modules.add(factory._module_name)
89
 
            else:
90
 
                modules.add(factory._obj.__module__)
 
86
            modules.add(factory.get_module())
91
87
    # Add chroot and pathfilter directly, because there is no handler
92
88
    # registered for it.
93
89
    modules.add('bzrlib.transport.chroot')