[Pkg-bazaar-commits] ./bzr/unstable r637: - add assertion
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 08:18:48 UTC 2009
------------------------------------------------------------
revno: 637
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Tue 2005-06-07 19:07:40 +1000
message:
- add assertion
modified:
bzrlib/statcache.py
-------------- next part --------------
=== modified file 'bzrlib/statcache.py'
--- a/bzrlib/statcache.py 2005-05-31 02:45:19 +0000
+++ b/bzrlib/statcache.py 2005-06-07 09:07:40 +0000
@@ -148,6 +148,8 @@
seen_paths = {}
from bzrlib.trace import warning
+ assert isinstance(basedir, basestring)
+
sha_re = re.compile(r'[a-f0-9]{40}')
try:
More information about the Pkg-bazaar-commits
mailing list