Do not check DVC_HOME

This commit is contained in:
Dmitry Petrov
2017-05-03 02:37:36 -07:00
parent a3aad623de
commit 55d93a93ed
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ from dvc.command.import_bulk import CmdImportBulk
from dvc.command.lock import CmdLock
from dvc.command.test import CmdTest
VERSION = '0.8.0'
VERSION = '0.8.1'
def print_usage():
usage = ('',
+5 -5
View File
@@ -16,11 +16,11 @@ class Settings(object):
self._config = config
self._path_factory = PathFactory(git, config)
self._dvc_home = os.environ.get('DVC_HOME')
if not self._dvc_home:
raise SettingsError('DVC_HOME environment variable is not defined')
if not os.path.exists(self._dvc_home):
raise SettingsError("DVC_HOME directory doesn't exists")
# self._dvc_home = os.environ.get('DVC_HOME')
# if not self._dvc_home:
# raise SettingsError('DVC_HOME environment variable is not defined')
# if not os.path.exists(self._dvc_home):
# raise SettingsError("DVC_HOME directory doesn't exists")
pass
@property