1. Irina Gavrilova
  2. CherryPy


visteya  committed ffbfa6a

backport of [2010]

  • Participants
  • Parent commits e8591b0
  • Branches cherrypy-3.1.x

Comments (0)

Files changed (1)

File cherrypy/cherryd

View file
  • Ignore whitespace
 def start(configfiles=None, daemonize=False, environment=None,
           fastcgi=False, pidfile=None, imports=None):
     """Subscribe all engine plugins and start the engine."""
-    for i in imports:
+    for i in imports or []:
         exec "import %s" % i
     for c in configfiles or []: