~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to baz2bzr

  • Committer: Aaron Bentley
  • Date: 2005-08-09 13:12:05 UTC
  • Revision ID: abentley@panoramicfeedback.com-20050809131205-563c3abe321ea722
Fixed NoPyBaz detection

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
19
 
20
20
import sys
 
21
from errors import NoPyBaz
21
22
try:
22
23
    from baz_import import import_version, UserError
23
 
except:
 
24
except NoPyBaz:
24
25
    print >> sys.stderr, "This command requires PyBaz.  Please ensure that it is installed."
25
26
    sys.exit(1)
26
27