~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to baz2bzr

  • Committer: Aaron Bentley
  • Date: 2005-07-25 12:59:22 UTC
  • Revision ID: abentley@panoramicfeedback.com-20050725125922-42977d0e7e81075f
Somewhat less-confusing import errors

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
import sys
20
21
try:
21
22
    from baz_import import import_version, UserError
22
 
except NoPyBaz:
 
23
except:
23
24
    print >> sys.stderr, "This command requires PyBaz.  Please ensure that it is installed."
24
25
    sys.exit(1)
25
26
 
26
27
import pybaz
27
 
import sys
28
28
import os.path
29
29
 
30
30
def main(args):