Changeset - b8cb1fe622e9
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2013-02-12 17:03:10
marcin@python-works.com
don't use global pylons config
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/helpers.py
Show inline comments
 
@@ -1048,13 +1048,14 @@ def urlify_commit(text_, repository=None
 
        return ''.join(links)
 

	
 
    # urlify changesets - extrac revisions and make link out of them
 
    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 = [
 
            x.group(1)
 
            for x in map(lambda x: re.match(r'issue_pat(.*)', x), conf.keys())
 
            if x and 'issue_server_link%s' % x.group(1) in conf
0 comments (0 inline, 0 general)