repository_change: skip .dvc when collecting timestamps

Fixes #277

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2017-11-01 03:58:00 +02:00
parent 19d93c13b5
commit cb47ac4eae
+4 -1
View File
@@ -116,7 +116,10 @@ class RepositoryChange(object):
def data_file_timesteps(self):
res = set()
for root, dirs, files in os.walk('.'):
for root, dirs, files in os.walk(self._settings.git.git_dir_abs):
if root.startswith(os.path.join(self._settings.git.git_dir_abs, ConfigI.CONFIG_DIR)):
continue
for file in files:
filename = os.path.join(root, file)
if os.path.exists(filename):