Fix linting through using a raw python string

This commit is contained in:
David-Wobrock authored and David Wobrock committed 2018-12-23 12:25:41 +01:00
1 parent 178d8036c2
commit 395379178b
1 file changed
+1 -1
+1 -1
View File
@@ -166,7 +166,7 @@ class MigrationLinter(object):
utils.clean_bytes_to_str, diff_process.stdout.readlines()):
# Only gather lines that include added migrations
if re.search(
'\/{0}\/.*\.py'.format(self.MIGRATION_FOLDER_NAME),
r'\/{0}\/.*\.py'.format(self.MIGRATION_FOLDER_NAME),
line) and \
'__init__' not in line:
app_name, migration_name = self._split_migration_path(line)