[Pkg-bazaar-commits] ./bzr/unstable r495: - disallow slash in store ids
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 08:20:13 UTC 2009
------------------------------------------------------------
revno: 495
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Mon 2005-05-16 11:57:48 +1000
message:
- disallow slash in store ids
modified:
bzrlib/store.py
-------------- next part --------------
=== modified file 'bzrlib/store.py'
--- a/bzrlib/store.py 2005-04-15 01:31:21 +0000
+++ b/bzrlib/store.py 2005-05-16 01:57:48 +0000
@@ -74,6 +74,7 @@
self._basedir = basedir
def _path(self, id):
+ assert '/' not in id
return os.path.join(self._basedir, id)
def __repr__(self):
More information about the Pkg-bazaar-commits
mailing list