summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2008-07-01 07:11:52 +0000
committerRobert Brewer <fumanchu@aminus.org>2008-07-01 07:11:52 +0000
commited1f57d327d546d0909fd3b6e46337e3730a1036 (patch)
tree025c1fe6420ce902b90eb6aad93bf26e957f7cc5
parent2698588a8d3ba6ff498f712d8c72fe78acd49096 (diff)
downloadcherrypy-ed1f57d327d546d0909fd3b6e46337e3730a1036.tar.gz
Arg. Buglet in cherryd.
-rw-r--r--cherrypy/cherryd2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/cherryd b/cherrypy/cherryd
index 3d5cbdef..0e2f94db 100644
--- a/cherrypy/cherryd
+++ b/cherrypy/cherryd
@@ -10,7 +10,7 @@ from cherrypy.process import plugins, servers
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 []: