changeset 2956:a2ecf8a530b9 beta

don't check for url issue links, since we always want to linkify changeset into a repo link, fixes issue with issue_pat beeing disabled breaks the urlification
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 23 Oct 2012 17:09:28 +0200
parents 9c85d884315b
children 15dc5b2ff672
files rhodecode/lib/helpers.py
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/helpers.py	Tue Oct 23 15:27:06 2012 +0200
+++ b/rhodecode/lib/helpers.py	Tue Oct 23 17:09:28 2012 +0200
@@ -1070,10 +1070,9 @@
             log.debug('processed prefix:`%s` => %s' % (pattern_index, newtext))
 
         # if we actually did something above
-        if valid_indices:
-            if link_:
-                # wrap not links into final link => link_
-                newtext = linkify_others(newtext, link_)
+        if link_:
+            # wrap not links into final link => link_
+            newtext = linkify_others(newtext, link_)
 
             return literal(newtext)
     except: