Fix typo in warning variable
This commit is contained in:
1 parent
27e492996c
commit
6e15f65467
1 file changed
+2
-2
@@ -628,7 +628,7 @@ class MigrationLinter(object):
|
||||
if sql_ignored:
|
||||
ignored += sql_ignored
|
||||
if sql_warnings:
|
||||
warnings += sql_warnings
|
||||
warning += sql_warnings
|
||||
|
||||
# And analysse the reverse SQL
|
||||
if runsql.reversible and runsql.reverse_sql != RunSQL.noop:
|
||||
@@ -658,6 +658,6 @@ class MigrationLinter(object):
|
||||
if sql_ignored:
|
||||
ignored += sql_ignored
|
||||
if sql_warnings:
|
||||
warnings += sql_warnings
|
||||
warning += sql_warnings
|
||||
|
||||
return error, ignored, warning
|
||||
Reference in new issue
Block a user