/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/knit.py

  • Committer: Carl Friedrich Bolz
  • Date: 2006-09-06 21:17:22 UTC
  • mfrom: (1977 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2026.
  • Revision ID: cfbolz@gmx.de-20060906211722-b04f9c3ad1f53ef1
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1255
1255
        
1256
1256
    def has_version(self, version_id):
1257
1257
        """True if the version is in the index."""
1258
 
        return self._cache.has_key(version_id)
 
1258
        return (version_id in self._cache)
1259
1259
 
1260
1260
    def get_position(self, version_id):
1261
1261
        """Return data position and size of specified version."""