~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store.py

  • Committer: Martin Pool
  • Date: 2005-09-15 06:35:58 UTC
  • Revision ID: mbp@sourcefrog.net-20050915063558-f3b5bae25543c922
- add assertion

Show diffs side-by-side

added added

removed removed

Lines of Context:
184
184
        return (os.access(p, os.R_OK)
185
185
                or os.access(p + '.gz', os.R_OK))
186
186
 
187
 
    # TODO: Guard against the same thing being stored twice,
188
 
    # compressed and uncompressed
 
187
    # TODO: Guard against the same thing being stored twice, compressed and uncompresse
189
188
 
190
189
    def __iter__(self):
191
190
        for f in os.listdir(self._basedir):