__file__ is now always an absolute path (3.4)

This commit is contained in:
Thomas Waldmann 2015-12-15 01:25:25 +01:00
parent 0be62d4233
commit 7c8bfe6681
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ except ImportError:
has_lchflags = hasattr(os, 'lchflags') has_lchflags = hasattr(os, 'lchflags')
src_dir = os.path.join(os.getcwd(), os.path.dirname(__file__), '..') src_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
def exec_cmd(*args, archiver=None, fork=False, exe=None, **kw): def exec_cmd(*args, archiver=None, fork=False, exe=None, **kw):