logging config fixed (now logging is made not by root logger, but by 'django_migration_linter.sql_analyzer')
This commit is contained in:
1 parent
7a69d36393
commit
df7befa43d
2 files changed
+6
-2
No files matched your search
@@ -13,7 +13,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
from __future__ import print_function
|
||||
import logging as log
|
||||
import logging
|
||||
import os
|
||||
import re
|
||||
from subprocess import Popen, PIPE
|
||||
@@ -21,6 +21,8 @@ import sys
|
||||
from . import utils
|
||||
from .sql_analyser import analyse_sql_statements
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class MigrationLinter(object):
|
||||
MIGRATION_FOLDER_NAME = 'migrations'
|
||||
|
||||
@@ -13,7 +13,9 @@
|
||||
# limitations under the License.
|
||||
|
||||
import re
|
||||
import logging as log
|
||||
import logging
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def has_default(sql, **kwargs):
|
||||
|
||||
Reference in new issue
Block a user