From 7ffa097cf7af5ca74c024dca46986741e2a6b0b1 Mon Sep 17 00:00:00 2001 From: "Paul J. Davis" Date: Thu, 2 Jun 2011 09:17:59 -0400 Subject: [PATCH] Use split (not rsplit) to separate MOD:APP info. --- gunicorn/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/util.py b/gunicorn/util.py index 84b09f59..344296b7 100644 --- a/gunicorn/util.py +++ b/gunicorn/util.py @@ -219,7 +219,7 @@ def normalize_name(name): return "-".join([w.lower().capitalize() for w in name.split("-")]) def import_app(module): - parts = module.rsplit(":", 1) + parts = module.split(":", 1) if len(parts) == 1: module, obj = module, "application" else: