/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/transport/memory.py

  • Committer: Jelmer Vernooij
  • Date: 2019-06-03 03:10:29 UTC
  • mfrom: (7312 work)
  • mto: This revision was merged to the branch mainline in revision 7318.
  • Revision ID: jelmer@jelmer.uk-20190603031029-b34je03bjulxxdwj
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
        self._scheme = url[:split]
78
78
        self._cwd = url[split:]
79
79
        # dictionaries from absolute path to file mode
80
 
        self._dirs = {'/':None}
 
80
        self._dirs = {'/': None}
81
81
        self._symlinks = {}
82
82
        self._files = {}
83
83
        self._locks = {}
149
149
    def get(self, relpath):
150
150
        """See Transport.get()."""
151
151
        _abspath = self._resolve_symlinks(relpath)
152
 
        if not _abspath in self._files:
 
152
        if _abspath not in self._files:
153
153
            if _abspath in self._dirs:
154
154
                return LateReadError(relpath)
155
155
            else: