diff --git a/dvc/system.py b/dvc/system.py index 30dea7764..1a8dbef70 100644 --- a/dvc/system.py +++ b/dvc/system.py @@ -1,6 +1,7 @@ from __future__ import unicode_literals import errno +import logging import os import shutil @@ -9,6 +10,9 @@ from dvc.utils.compat import open from dvc.utils.compat import str +logger = logging.getLogger(__name__) + + class System(object): @staticmethod def is_unix(): @@ -74,7 +78,6 @@ class System(object): @staticmethod def _reflink_darwin(src, dst): import ctypes - import dvc.logger as logger LIBC = "libc.dylib" LIBC_FALLBACK = "/usr/lib/libSystem.dylib"