~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/codehosting/vfs/transport.py

  • Committer: Aaron Bentley
  • Date: 2011-06-23 15:26:50 UTC
  • mto: This revision was merged to the branch mainline in revision 13292.
  • Revision ID: aaron@canonical.com-20110623152650-son0leikwlxcb351
Fix lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
        """Return the absolute, escaped path to `relpath` without the schema.
103
103
        """
104
104
        return urlutils.joinpath(
105
 
            self.base[len(self.server.get_url())-1:], relpath)
 
105
            self.base[len(self.server.get_url()) - 1:], relpath)
106
106
 
107
107
    def _getUnderylingTransportAndPath(self, relpath):
108
108
        """Return the underlying transport and path for `relpath`."""
178
178
 
179
179
    def iter_files_recursive(self):
180
180
        deferred = self._getUnderylingTransportAndPath('.')
 
181
 
181
182
        @no_traceback_failures
182
183
        def iter_files((transport, path)):
183
184
            return transport.clone(path).iter_files_recursive()
186
187
 
187
188
    def listable(self):
188
189
        deferred = self._getUnderylingTransportAndPath('.')
 
190
 
189
191
        @no_traceback_failures
190
192
        def listable((transport, path)):
191
193
            return transport.listable()