Permalink
Browse files

Fixing an issue in the backport of relpath.

  • Loading branch information...
1 parent 9f0e6a9 commit 0c4566ef7e6c9ac5e3359cf813445c24cdbb056c @gregmuellegger committed Oct 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 autofixture/generators.py
@@ -25,7 +25,7 @@ def relpath(path, start=os.curdir):
rel_list = [os.path.pardir] * (len(start_list)-i) + path_list[i:]
if not rel_list:
- return curdir
+ return os.curdir
return os.path.join(*rel_list)

0 comments on commit 0c4566e

Please sign in to comment.