/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2007-06-25 15:27:00 UTC
  • Revision ID: abentley@panoramicfeedback.com-20070625152700-xs2q3isleg6pf5mz
Import BzrError before using it

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        # get the message out any way we can
40
40
        from warnings import warn as warning
41
41
    if bzrlib_version < desired:
 
42
        from bzrlib.errors import BzrError
42
43
        warning('Installed bzr version %s is too old to be used with bzr-gtk'
43
44
                ' %s.' % (bzrlib.__version__, __version__))
44
45
        raise BzrError('Version mismatch: %r' % version_info)