~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-09-14 03:01:25 UTC
  • mfrom: (4574.3.12 406113-extension-warnings)
  • Revision ID: pqm@pqm.ubuntu.com-20090914030125-wichbbiuuk4260y4
(mbp) warnings if extensions can't be loaded

Show diffs side-by-side

added added

removed removed

Lines of Context:
458
458
 
459
459
try:
460
460
    from bzrlib._annotator_pyx import Annotator
461
 
except ImportError:
 
461
except ImportError, e:
 
462
    osutils.failed_to_load_extension(e)
462
463
    from bzrlib._annotator_py import Annotator