~jaypipes/+junk/creiht-paste-deploy

« back to all changes in this revision

Viewing changes to glance/teller/backends/swift.py

  • Committer: Tarmac
  • Author(s): Rick Harris
  • Date: 2010-12-09 16:07:36 UTC
  • mfrom: (21.2.1 fix-urlparse)
  • Revision ID: tarmac-20101209160736-rsiq0s00mucdpdge
Fixes Swift URL Parsing in Python 2.6.5 by adding back netloc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
        try:
85
85
            try:
86
86
                creds, netloc = netloc.split('@')
 
87
                path = '/'.join([netloc, path])
87
88
            except ValueError:
88
89
                # Python 2.6.1 compat
89
90
                # see lp659445 and Python issue7904