Permalink
Browse files

Use util.relpath instead of os.path.relpath.

  • Loading branch information...
Cito authored and ralphbean committed Jun 18, 2012
1 parent f308bef commit 3c302eaac3c4eac565138be652d5be3e60c64421
Showing with 0 additions and 2 deletions.
  1. +0 −2 tw2/core/util.py
@@ -137,8 +137,6 @@ def relpath(path, start=None):
start = os.curdir
if not path:
raise ValueError("no path specified")
# This may not work on windows. See http://bit.ly/LT4rBP
start_list = op.abspath(start).split(op.sep)
path_list = op.abspath(path).split(op.sep)

0 comments on commit 3c302ea

Please sign in to comment.