mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
Do not check DVC_HOME
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user