summaryrefslogtreecommitdiff
path: root/include_server
diff options
context:
space:
mode:
authorCraig Silverstein <csilvers@khanacademy.org>2008-05-13 05:28:21 +0000
committerCraig Silverstein <csilvers@khanacademy.org>2008-05-13 05:28:21 +0000
commit473cfee8e44b10aef4862e7f3cf5f847f9af4ce5 (patch)
tree0c7d34baaf67422e8dc17b5c7ffaf3bd4874e29c /include_server
parent2d3564ef2c6abb91da348f4c17da7694235acfc8 (diff)
downloaddistcc-git-473cfee8e44b10aef4862e7f3cf5f847f9af4ce5.tar.gz
Be more informative on an assert.
Reviewed by fergus@google.com and klarlund@google.com
Diffstat (limited to 'include_server')
-rwxr-xr-xinclude_server/include_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/include_server/include_server.py b/include_server/include_server.py
index fc134bc..249c9fd 100755
--- a/include_server/include_server.py
+++ b/include_server/include_server.py
@@ -210,7 +210,7 @@ def _CleanOutClientRoots(client_root):
# Determine all generations of this directory.
hyphen_ultimate_position = client_root.rfind('-')
client_roots = glob.glob("%s-*" % client_root[:hyphen_ultimate_position])
- assert client_root in client_roots
+ assert client_root in client_roots, (client_root, client_roots)
for client_root_ in client_roots:
_RemoveDirectoryTree(client_root_)