1. Curtis Maloney
  2. gnocchi-tools

Commits

funkybob  committed 7bb1679

Remove silly option

  • Participants
  • Parent commits f37007e
  • Branches default

Comments (0)

Files changed (1)

File gnocchi/tools/utils.py

View file
 
 from django.utils.importlib import import_module
-def autodiscover_factory(module, include_project=False):
+def autodiscover_factory(module):
     def autodiscover():
         """
         Auto-discover INSTALLED_APPS modules and fail silently when
         for app in settings.INSTALLED_APPS:
             import_app(app)
 
-        if include_project:
-            # Look for a project-specific modules.
-            import_app(settings.PROJECT_NAME)
-
     return autodiscover
 
 class ChoicesList(object):