cmd_status: properly strip the common prefix
commitc1940b2d382f792fcabe9e991c91c36ac8d073b2
authorSteven Walter <swalter@lpdev.prtdev.lexmark.com>
Wed, 20 Aug 2008 20:54:24 +0000 (20 16:54 -0400)
committerSteven Walter <stevenrwalter@gmail.com>
Fri, 22 Aug 2008 01:18:23 +0000 (21 21:18 -0400)
tree2bd26b96d9390453b1aba7cc11deeb7be3e2dc17
parent3054ab223abc35e4fface66a9c7b0d94341f769f
cmd_status: properly strip the common prefix

This code assumed that os.path.split would return an n-tuple, but it
fact it always returns only two components, the basename and the
dirname.
yap/yap.py