Remove django 1.9 support and fix PEP8
This commit is contained in:
1 parent
dcbcb0883c
commit
317156bf2b
4 files changed
+3
-11
No files matched your search
@@ -43,7 +43,8 @@ class MigrationLinter(object):
|
||||
self.include_apps = kwargs.get('include_apps', None)
|
||||
self.exclude_apps = kwargs.get('exclude_apps', None)
|
||||
self.database = kwargs.get('database', None) or 'default'
|
||||
self.python_exe = '{0}/bin/{1}'.format(sys.prefix, 'python') if hasattr(sys, 'real_prefix') else 'python'
|
||||
self.python_exe = '{0}/bin/{1}'.format(sys.prefix, 'python') if \
|
||||
hasattr(sys, 'real_prefix') else 'python'
|
||||
|
||||
# Initialise counters
|
||||
self.nb_valid = 0
|
||||
|
||||
Reference in new issue
Block a user