1. Francois Lebel
  2. south


Justin Lilly  committed 2304d2b

Ensuring the module is actually a directory before adding to migrations.

  • Participants
  • Parent commits dbae51a
  • Branches default

Comments (0)

Files changed (1)

File south/migration.py

View file
  • Ignore whitespace
             # if its a folder, and doesn't have an __init__.py file
             if os.path.splitext(filename)[1] is "" \
+                and os.path.isdir(filename) \
                 and "__init__.py" not in os.listdir(os.path.join(os.path.dirname(app.__file__), filename)):