Commits

Alexander Solovyov committed b3bc822

fix typo

  • Participants
  • Parent commits 0ec682d

Comments (0)

Files changed (1)

File svarga/core/dispatch.py

 
 from opster import dispatch
 from svarga import db, env
-from svarga.core.env import Environment
 from svarga.utils.imports import import_module
 
 ROOTLOGGERS = ['svarga', 'sqlalchemy', 'sqlalchemy.engine']
 
 def run(settings):
     warnings.warn('Calling svarga.core.dispatch.run is deprecated, '
-                  'instantiate app = svarga.SvargaHandler(settings instead and '
-                  'use app.run()',
+                  'instantiate app = svarga.SvargaHandler(settings) instead '
+                  'and use app.run()',
                   DeprecationWarning)
     from svarga.core.handler import SvargaHandler
     app = SvargaHandler(settings)