You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2020/11/11 22:19:57 UTC

[allura] branch master updated: Restore some necessary backslashes in a regex

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/master by this push:
     new 3fbe43f  Restore some necessary backslashes in a regex
3fbe43f is described below

commit 3fbe43fcf07eae3d8cae7274f6e04e383bc26bc0
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Wed Nov 11 17:19:46 2020 -0500

    Restore some necessary backslashes in a regex
---
 Allura/allura/model/neighborhood.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Allura/allura/model/neighborhood.py b/Allura/allura/model/neighborhood.py
index bc201d6..24fbe81 100644
--- a/Allura/allura/model/neighborhood.py
+++ b/Allura/allura/model/neighborhood.py
@@ -48,7 +48,7 @@ class NeighborhoodFile(File):
     neighborhood_id = FieldProperty(S.ObjectId)
 
 
-re_picker_css_type = re.compile(r'^/*(.+)*/')
+re_picker_css_type = re.compile(r'^/\*(.+)\*/')
 re_font_project_title = re.compile(r'font-family:(.+);}')
 re_color_project_title = re.compile(r'color:(.+);}')
 re_bgcolor_barontop = re.compile(r'background-color:([^;}]+);')