⚠️ Remove settings param from rules match, get_new_command and side_effect
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
def match(command, settings):
|
||||
def match(command):
|
||||
return 'manage.py' in command.script and \
|
||||
'migrate' in command.script \
|
||||
and '--merge: will just attempt the migration' in command.stderr
|
||||
|
||||
|
||||
def get_new_command(command, settings):
|
||||
def get_new_command(command):
|
||||
return u'{} --merge'.format(command.script)
|
||||
|
||||
Reference in New Issue
Block a user