mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix typo
This commit is contained in:
parent
5f11713678
commit
4b59fc351f
@ -126,8 +126,8 @@ def load_class(uri, default="sync", section="gunicorn.workers"):
|
||||
return pkg_resources.load_entry_point("gunicorn",
|
||||
section, uri)
|
||||
except ImportError, e:
|
||||
raise RuntimeError("class uri invalid or not found: [%s]",
|
||||
str(e))
|
||||
raise RuntimeError("class uri invalid or not found: " +
|
||||
"[%s]" % str(e))
|
||||
klass = components.pop(-1)
|
||||
mod = __import__('.'.join(components))
|
||||
for comp in components[1:]:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user