~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: Martin Pool
  • Date: 2006-01-30 11:55:34 UTC
  • mfrom: (1185.62.24 bzr-jam-pending)
  • Revision ID: mbp@sourcefrog.net-20060130115534-d9ca79b5856a08fa
[merge] jam-pending small fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
534
534
        """Return a list of the klass, server_factory pairs to test."""
535
535
        result = []
536
536
        for module in _get_transport_modules():
537
 
            result.extend(self.get_transport_test_permutations(reduce(getattr, 
538
 
                (module).split('.')[1:],
539
 
                 __import__(module))))
 
537
            try:
 
538
                result.extend(self.get_transport_test_permutations(reduce(getattr, 
 
539
                    (module).split('.')[1:],
 
540
                     __import__(module))))
 
541
            except errors.DependencyNotPresent, e:
 
542
                # Continue even if a dependency prevents us 
 
543
                # from running this test
 
544
                pass
540
545
        return result
541
546
        
542
547