changeset 3382:b8cb1fe622e9 beta

don't use global pylons config
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 12 Feb 2013 17:03:10 +0100
parents c48a3381b037
children c8fd8cca71f2
files rhodecode/lib/helpers.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/helpers.py	Tue Feb 19 01:58:12 2013 +0100
+++ b/rhodecode/lib/helpers.py	Tue Feb 12 17:03:10 2013 +0100
@@ -1051,7 +1051,8 @@
     newtext = urlify_changesets(escaper(text_), repository)
 
     try:
-        conf = config['app_conf']
+        from rhodecode import CONFIG
+        conf = CONFIG
 
         # allow multiple issue servers to be used
         valid_indices = [