~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store.py

  • Committer: Martin Pool
  • Date: 2005-05-16 01:57:48 UTC
  • Revision ID: mbp@sourcefrog.net-20050516015748-e217422f1da5794a
- disallow slash in store ids

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
        self._basedir = basedir
75
75
 
76
76
    def _path(self, id):
 
77
        assert '/' not in id
77
78
        return os.path.join(self._basedir, id)
78
79
 
79
80
    def __repr__(self):