/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: Gary van der Merwe
  • Date: 2007-08-10 10:45:06 UTC
  • mto: This revision was merged to the branch mainline in revision 256.
  • Revision ID: garyvdm@gmail.com-20070810104506-wo2mp9zfkh338axe
Make icon locations consistant between source and installed version. Let glade nkow where to find the icons with a project file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
import bzrlib
35
35
 
36
 
__version__ = '0.91.0'
 
36
__version__ = '0.19.0'
37
37
version_info = tuple(int(n) for n in __version__.split('.'))
38
38
 
39
39
 
57
57
        from warnings import warn as warning
58
58
    if bzrlib_version < desired:
59
59
        from bzrlib.errors import BzrError
60
 
        warning('Installed Bazaar version %s is too old to be used with bzr-gtk'
 
60
        warning('Installed bzr version %s is too old to be used with bzr-gtk'
61
61
                ' %s.' % (bzrlib.__version__, __version__))
62
 
        raise BzrError('Version mismatch: %r' % (version_info,) )
 
62
        raise BzrError('Version mismatch: %r' % version_info)
63
63
    else:
64
64
        warning('bzr-gtk is not up to date with installed bzr version %s.'
65
65
                ' \nThere should be a newer version available, e.g. %i.%i.'