Commits

Anonymous committed 26dbdda

Fixed a silly indentation bug.

  • Participants
  • Parent commits 96b46b2

Comments (0)

Files changed (1)

           logging.error("Failed to import app '%s.urls'." % app)
           logging.debug("Reason:\n%s" % self._get_traceback(sys.exc_info()))
           raise
+      rules = []
       if hasattr(url_mod, 'view_groups'):
-        rules = []
         for view_group in getattr(url_mod, 'view_groups'):
           try:
             endpoint_prefix = app.split(".")[-1]