~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to baz2bzr

  • Committer: Aaron Bentley
  • Date: 2005-07-22 14:21:28 UTC
  • Revision ID: abentley@panoramicfeedback.com-20050722142128-d3438cab0870fe06
Fixed up the baz-import plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#    along with this program; if not, write to the Free Software
18
18
#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
19
 
20
 
from baz_import import import_version, UserError
 
20
try:
 
21
    from baz_import import import_version, UserError
 
22
except NoPyBaz:
 
23
    print >> sys.stderr, "This command requires PyBaz.  Please ensure that it is installed."
 
24
    sys.exit(1)
 
25
 
21
26
import pybaz
22
27
import sys
23
28
import os.path