incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [3/3] git commit: [#6480] Initialize classes to prevent exc if no href
Date Tue, 06 Aug 2013 19:23:53 GMT
[#6480] Initialize classes to prevent exc if no href

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/f2b65b17
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/f2b65b17
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/f2b65b17

Branch: refs/heads/tv/6480
Commit: f2b65b17d41da1e1eb82ccdb119553c26c913db2
Parents: 8a8ca5d
Author: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Authored: Tue Aug 6 19:23:16 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Tue Aug 6 19:23:16 2013 +0000

----------------------------------------------------------------------
 Allura/allura/lib/markdown_extensions.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/f2b65b17/Allura/allura/lib/markdown_extensions.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/markdown_extensions.py b/Allura/allura/lib/markdown_extensions.py
index 4879bf4..6e1004d 100644
--- a/Allura/allura/lib/markdown_extensions.py
+++ b/Allura/allura/lib/markdown_extensions.py
@@ -99,6 +99,7 @@ class ForgeLinkPattern(markdown.inlinepatterns.LinkPattern):
         except IndexError:
             title = None
 
+        classes = ''
         if href:
             if href == 'TOC':
                 return '[TOC]'  # skip TOC


Mime
View raw message