Skip to content

Commit

Permalink
builder._nice(): show the right filename in the case of chdir().
Browse files Browse the repository at this point in the history
This only affects cosmetics, not actual behaviour, which is why the unit
tests didn't catch it.
  • Loading branch information
apenwarr committed Dec 10, 2010
1 parent 51bbdc6 commit 43b74f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder.py
Expand Up @@ -28,7 +28,7 @@ def _find_do_file(t):


def _nice(t):
return os.path.normpath(os.path.join(vars.PWD, t))
return state.relpath(t, vars.STARTDIR)


def _try_stat(filename):
Expand Down

0 comments on commit 43b74f3

Please sign in to comment.