~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/memory.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-30 13:54:51 UTC
  • mto: This revision was merged to the branch mainline in revision 1975.
  • Revision ID: john@arbash-meinel.com-20060830135451-db085d993f76f572
change return foo in bar to return (foo in bar)

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()."""