allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [03/12] allura git commit: Remove parantheses
Date Thu, 13 Sep 2018 19:24:07 GMT
Remove parantheses


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

Branch: refs/heads/master
Commit: bda5848a0b9e1604cc1c85a975fdab05b423a80a
Parents: 5471298
Author: Shalitha <shalithasuranga@gmail.com>
Authored: Mon Sep 10 21:02:11 2018 +0530
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Thu Sep 13 19:18:27 2018 +0000

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


http://git-wip-us.apache.org/repos/asf/allura/blob/bda5848a/Allura/allura/lib/markdown_extensions.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/markdown_extensions.py b/Allura/allura/lib/markdown_extensions.py
index ab5a06f..7b747b7 100644
--- a/Allura/allura/lib/markdown_extensions.py
+++ b/Allura/allura/lib/markdown_extensions.py
@@ -290,7 +290,7 @@ class ForgeLinkPattern(markdown.inlinepatterns.LinkPattern):
         except IndexError:
             href = m.group(2)
             is_link_with_brackets = True
-            if(el.text == 'x' or el.text == ' '):
+            if el.text == 'x' or el.text == ' ':
                 return '[' + el.text + ']'
         try:
             title = m.group(13)


Mime
View raw message