~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-10 13:02:27 UTC
  • mfrom: (4282.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090410130227-fh2zl04tu0oq6cg6
(vila) (trivial) Fix typo and a misleading signature

Show diffs side-by-side

added added

removed removed

Lines of Context:
1342
1342
            yield ie
1343
1343
            file_id = ie.parent_id
1344
1344
 
1345
 
    def has_filename(self, names):
1346
 
        return bool(self.path2id(names))
 
1345
    def has_filename(self, filename):
 
1346
        return bool(self.path2id(filename))
1347
1347
 
1348
1348
    def has_id(self, file_id):
1349
1349
        return (file_id in self._byid)