src/cm/monkey_patches.py
changeset 531 80859749e6b1
parent 530 d2803c60af53
equal deleted inserted replaced
530:d2803c60af53 531:80859749e6b1
    40     else:
    40     else:
    41         apps = list(migration.all_migrations())
    41         apps = list(migration.all_migrations())
    42         
    42         
    43     # Do we need to show the list of migrations?
    43     # Do we need to show the list of migrations?
    44     if show_list and apps:
    44     if show_list and apps:
    45         list_migrations(apps, database)
    45         list_migrations(apps, database, **options)
    46         
    46         
    47     if not show_list:
    47     if not show_list:
    48             
    48             
    49         for app in apps:
    49         for app in apps:
    50             result = migration.migrate_app(
    50             result = migration.migrate_app(