1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-21 10:08:59 +00:00
thefuck/thefuck/rules/django_south_merge.py
2017-08-31 17:58:56 +02:00

9 lines
264 B
Python

def match(command):
return 'manage.py' in command.script and \
'migrate' in command.script \
and '--merge: will just attempt the migration' in command.output
def get_new_command(command):
return u'{} --merge'.format(command.script)