Commit 1ed2e145 authored by bescoto's avatar bescoto

Assertion now yields more useful information


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@540 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 5fa2d9cb
......@@ -111,7 +111,7 @@ def get_inc(rp, typestr, time = None):
else:
dirname, basename = rp.dirsplit()
incrp = rp.__class__(rp.conn, dirname, (addtostr(basename),))
assert not incrp.lstat()
assert not incrp.lstat(), incrp
return incrp
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment