~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bundle/__init__.py

  • Committer: Aaron Bentley
  • Date: 2006-12-07 15:30:26 UTC
  • mto: This revision was merged to the branch mainline in revision 2170.
  • Revision ID: abentley@panoramicfeedback.com-20061207153026-443kh4znfmeoo3bg
Fix reading bundles from http URLs

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    :return: A BundleReader, may raise NotABundle if the target 
32
32
            is not a proper bundle.
33
33
    """
 
34
    url = urlutils.normalize_url(url)
34
35
    url, filename = urlutils.split(url, exclude_trailing_slash=False)
35
36
    if not filename:
36
37
        # A path to a directory was passed in