builder._nice(): show the right filename in the case of chdir().

This only affects cosmetics, not actual behaviour, which is why the unit
tests didn't catch it.
This commit is contained in:
Avery Pennarun 2010-12-09 03:29:34 -08:00
commit 43b74f3220

View file

@ -28,7 +28,7 @@ def _find_do_file(t):
def _nice(t): def _nice(t):
return os.path.normpath(os.path.join(vars.PWD, t)) return state.relpath(t, vars.STARTDIR)
def _try_stat(filename): def _try_stat(filename):