From 71b7fe430fea770b29e67dc5730a7c53afa2e6f6 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 1 Apr 2016 17:47:40 -0400 Subject: patch for multi-pkg repo --- common/versioneer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/versioneer.py b/common/versioneer.py index 7ed2a21d..58339251 100644 --- a/common/versioneer.py +++ b/common/versioneer.py @@ -680,7 +680,7 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command): expanded, and _version.py hasn't already been rewritten with a short version string, meaning we're inside a checked out source tree. """ - if not os.path.exists(os.path.join(root, ".git")): + if not os.path.exists(os.path.join(root, "..", ".git")): if verbose: print("no .git in %%s" %% root) raise NotThisMethod("no .git directory") @@ -1048,7 +1048,7 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command): expanded, and _version.py hasn't already been rewritten with a short version string, meaning we're inside a checked out source tree. """ - if not os.path.exists(os.path.join(root, ".git")): + if not os.path.exists(os.path.join(root, "..", ".git")): if verbose: print("no .git in %s" % root) raise NotThisMethod("no .git directory") -- cgit v1.2.3