~lifeless/bzrtools/setup

« back to all changes in this revision

Viewing changes to command.py

  • Committer: Aaron Bentley
  • Date: 2009-11-10 04:49:09 UTC
  • mfrom: (733.2.1 fix-version-check)
  • Revision ID: aaron@aaronbentley.com-20091110044909-arxvpkvw7v0nc8v7
Merge maxb's fix for version check.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
import bzrlib
2
2
from bzrlib import commands
3
3
 
4
 
from version import *
 
4
from version import version_info, __version__
5
5
 
6
6
 
7
7
class BzrToolsCommand(commands.Command):
35
35
        warning('Installed Bazaar version %s is too old to be used with'
36
36
                ' plugin \n'
37
37
                '"Bzrtools" %s.' % (
38
 
                bzrlib.__version__, '%s.%s.%s' % version_info))
 
38
                bzrlib.__version__, __version__))
39
39
        # Not using BzrNewError, because it may not exist.
40
40
        return 3
41
41
    else: