diff --git a/src/mozilla_taskgraph/version.py b/src/mozilla_taskgraph/version.py index 7a5469c..bc3bbdd 100644 --- a/src/mozilla_taskgraph/version.py +++ b/src/mozilla_taskgraph/version.py @@ -2,11 +2,9 @@ from taskgraph.util.vcs import get_repository -here = os.path.abspath(os.path.dirname(__file__)) - def default_parser(params): - repo_root = get_repository(here).path + repo_root = get_repository(os.getcwd()).path with open(os.path.join(repo_root, "version.txt")) as f: return f.read().strip()