From c57a5985360f9e71c4a22fa99f148813bb682393 Mon Sep 17 00:00:00 2001 From: Dmitry Petrov Date: Wed, 22 Mar 2017 01:12:28 -0700 Subject: [PATCH] DataFileObj file rename --- dvc/cmd_repro.py | 2 +- dvc/cmd_run.py | 2 +- dvc/path/{data_file_obj.py => data_path.py} | 0 dvc/path/path_factory.py | 2 +- tests/test_data_file_obj.py | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename dvc/path/{data_file_obj.py => data_path.py} (100%) diff --git a/dvc/cmd_repro.py b/dvc/cmd_repro.py index 581d6339c..7b7ba07af 100644 --- a/dvc/cmd_repro.py +++ b/dvc/cmd_repro.py @@ -6,7 +6,7 @@ from dvc.cmd_base import CmdBase from dvc.cmd_run import CmdRun from dvc.logger import Logger from dvc.exceptions import NeatLynxException -from dvc.path.data_file_obj import NotInDataDirError +from dvc.path.data_path import NotInDataDirError from dvc.state_file import StateFile diff --git a/dvc/cmd_run.py b/dvc/cmd_run.py index 3a9c1114e..d34210365 100644 --- a/dvc/cmd_run.py +++ b/dvc/cmd_run.py @@ -2,7 +2,7 @@ import os import shutil import fasteners -from dvc.path.data_file_obj import NotInDataDirError +from dvc.path.data_path import NotInDataDirError from dvc.git_wrapper import GitWrapper from dvc.cmd_base import CmdBase from dvc.logger import Logger diff --git a/dvc/path/data_file_obj.py b/dvc/path/data_path.py similarity index 100% rename from dvc/path/data_file_obj.py rename to dvc/path/data_path.py diff --git a/dvc/path/path_factory.py b/dvc/path/path_factory.py index 751edc771..4aa714f43 100644 --- a/dvc/path/path_factory.py +++ b/dvc/path/path_factory.py @@ -1,6 +1,6 @@ import os -from dvc.path.data_file_obj import DataPath, DataFilePathError, NotInDataDirError +from dvc.path.data_path import DataPath, DataFilePathError, NotInDataDirError from dvc.path.dvc_path import DvcPath diff --git a/tests/test_data_file_obj.py b/tests/test_data_file_obj.py index 66e3cd935..55d6b5ca5 100644 --- a/tests/test_data_file_obj.py +++ b/tests/test_data_file_obj.py @@ -3,7 +3,7 @@ import os import shutil from dvc.config import ConfigI -from dvc.path.data_file_obj import NotInDataDirError, DataFilePathError, DataPath +from dvc.path.data_path import NotInDataDirError, DataFilePathError, DataPath from dvc.git_wrapper import GitWrapperI from dvc.path.path_factory import PathFactory