/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/transport/gio_transport.py

Merge trunk, address review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
        #so a hardcoded list it is then.
130
130
        gio_backends = ['dav', 'file', 'ftp', 'obex', 'sftp', 'ssh', 'smb']
131
131
        if scheme not in gio_backends:
132
 
            raise errors.InvalidURL(base,
 
132
            raise urlutils.InvalidURL(base,
133
133
                    extra="GIO support is only available for " + \
134
134
                    ', '.join(gio_backends))
135
135
 
145
145
    def _relpath_to_url(self, relpath):
146
146
        full_url = urlutils.join(self.url, relpath)
147
147
        if isinstance(full_url, unicode):
148
 
            raise errors.InvalidURL(full_url)
 
148
            raise urlutils.InvalidURL(full_url)
149
149
        return full_url
150
150
 
151
151
    def _get_GIO(self, relpath):