From dad224ef42cc677fe968b61c3174e6f5214a7a54 Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Fri, 27 Dec 2019 10:09:13 -0600 Subject: [PATCH] summon: os.curdir -> os.getcwd --- dvc/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/api.py b/dvc/api.py index dd2f9f444..45c20c0c1 100644 --- a/dvc/api.py +++ b/dvc/api.py @@ -169,7 +169,7 @@ def _invoke_method(call, args, path): # XXX: sys.path manipulation is "theoretically" not needed # but tests are failing for an unknown reason. - cwd = os.path.abspath(os.curdir) + cwd = os.getcwd() try: os.chdir(path)