Commits

Andrew Godwin committed 0555d24

Fixed #1197: Wrapped function should return value

  • Participants
  • Parent commits 37223c8

Comments (0)

Files changed (1)

File south/hacks/django_1_0.py

                 try:
                     management._commands['flush'] = SkipFlushCommand()
                     # run create_test_db
-                    f(*args, **kwargs)
+                    return f(*args, **kwargs)
                 finally:
                     # unpatch flush back to the original
                     management._commands['flush'] = original_flush_command