~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: Martin Pool
  • Date: 2009-07-29 04:33:44 UTC
  • mto: This revision was merged to the branch mainline in revision 4688.
  • Revision ID: mbp@sourcefrog.net-20090729043344-oktumz4b3lcdow2k
More warnings when failing to load extensions

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
from bzrlib import (
20
20
    debug,
21
21
    errors,
 
22
    osutils,
22
23
    revision,
23
24
    trace,
24
25
    tsort,
1660
1661
_counters = [0,0,0,0,0,0,0]
1661
1662
try:
1662
1663
    from bzrlib._known_graph_pyx import KnownGraph
1663
 
except ImportError:
 
1664
except ImportError, e:
 
1665
    osutils._failed_to_load_extension(e)
1664
1666
    from bzrlib._known_graph_py import KnownGraph