diff --git a/dvc/api.py b/dvc/api.py index 44999af754..525459b7ef 100644 --- a/dvc/api.py +++ b/dvc/api.py @@ -187,6 +187,10 @@ def _get_object_desc(name, path): @wrap_with(threading.Lock()) def _invoke_method(call, args, path): + # XXX: Some issues with this approach: + # * Import will pollute sys.modules + # * sys.path manipulation is "theoretically" not needed, + # but tests are failing for an unknown reason. cwd = os.getcwd() try: