Skip to content

Commit

Permalink
removal of a development testing leftover in the auto discovery.
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Susik <msusik@sigmoidal.io>
  • Loading branch information
Mateusz Susik committed Mar 6, 2019
1 parent 0052ff8 commit b905989
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion peewee_migrate/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ def create(self, name='auto', auto=False):
modules = [auto]
if isinstance(auto, bool):
modules = [m for _, m, ispkg in pkgutil.iter_modules([CURDIR]) if ispkg]
modules = ['example', 'tests']

models = [m for module in modules for m in load_models(module)]

Expand Down

0 comments on commit b905989

Please sign in to comment.