/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 bzrlib/transport/memory.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-08-30 14:37:31 UTC
  • mfrom: (1711.9.11 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060830143731-af84f2be15714815
(Robey Pointer) replace foo.has_key(bar) with bar in foo

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
    def has(self, relpath):
118
118
        """See Transport.has()."""
119
119
        _abspath = self._abspath(relpath)
120
 
        return _abspath in self._files or _abspath in self._dirs
 
120
        return (_abspath in self._files) or (_abspath in self._dirs)
121
121
 
122
122
    def delete(self, relpath):
123
123
        """See Transport.delete()."""