diff rhodecode/lib/helpers.py @ 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 7000fc4aa569
children d21c762f5c4b
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 = [