~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to bzrtools.py

  • Committer: Aaron Bentley
  • Date: 2008-05-30 02:46:25 UTC
  • Revision ID: aaron@aaronbentley.com-20080530024625-anlzob2j6z2s7ebv
Remove references to PyBaz

Show diffs side-by-side

added added

removed removed

Lines of Context:
202
202
 
203
203
class NotStandalone(BzrError):
204
204
 
205
 
    _fmt = '%(location)s is not a standalone tree.'
 
205
    _format = '%(location) is not a standalone tree.'
206
206
    _internal = False
207
207
 
208
208
    def __init__(self, location):
408
408
def open_from_url(location):
409
409
    location = urlutils.normalize_url(location)
410
410
    dirname, basename = urlutils.split(location)
411
 
    if location.endswith('/') and not basename.endswith('/'):
412
 
        basename += '/'
413
411
    return get_transport(dirname).get(basename)
414
412
 
415
413