Drop django 1.10 support (and fix some PEP8)

This commit is contained in:
David-Wobrock committed 2018-07-19 22:14:13 +02:00
1 parent 555d17adcd
commit d672f06635
4 files changed
+3 -11

No files matched your search

+2 -1
View File
@@ -148,7 +148,8 @@ class MigrationLinter(object):
_, err = sqlmigrate_process.communicate()
raise RuntimeError('sqlmigrate command failed {0}'.format(
err.decode('utf-8')))
logger.info('Found {0} sql migration lines'.format(len(sql_statements)))
logger.info(
'Found {0} sql migration lines'.format(len(sql_statements)))
return sql_statements
def _gather_migrations_git(self, git_commit_id):