Fix tests and git migration gathering

This commit is contained in:
David-Wobrock committed 2019-01-05 17:39:09 +01:00
1 parent c6df7e53a0
commit 7a34ac9010
5 files changed
+36 -19

No files matched your search

+1 -1
View File
@@ -217,7 +217,7 @@ class MigrationLinter(object):
re.search(r"\/{0}\/.*\.py".format(MIGRATION_FOLDER_NAME), line)
and "__init__" not in line
):
migrations.append(Migration(line))
migrations.append(Migration(os.path.join(self.django_path, line)))
diff_process.wait()
if diff_process.returncode != 0: