summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjschneider <jschneider@3ed937ae-f919-0410-9a43-8e6f19e4ba6e>2009-09-23 15:09:56 (GMT)
committerjschneider <jschneider@3ed937ae-f919-0410-9a43-8e6f19e4ba6e>2009-09-23 15:09:56 (GMT)
commit319d6d64e96ad8f8a80e7000f721e4c0514cf06e (patch)
tree07b542b717d04813794696667a09857964710611
parent4d37015708f3e38908aaaab3a389c61fd7550f38 (diff)
downloadlarpe-319d6d64e96ad8f8a80e7000f721e4c0514cf06e.zip
larpe-319d6d64e96ad8f8a80e7000f721e4c0514cf06e.tar.gz
larpe-319d6d64e96ad8f8a80e7000f721e4c0514cf06e.tar.bz2
Change re options for filters
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@477 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
-rw-r--r--larpe/trunk/larpe/admin/hosts.ptl2
1 files changed, 1 insertions, 1 deletions
diff --git a/larpe/trunk/larpe/admin/hosts.ptl b/larpe/trunk/larpe/admin/hosts.ptl
index 2c1c25f..dc11279 100644
--- a/larpe/trunk/larpe/admin/hosts.ptl
+++ b/larpe/trunk/larpe/admin/hosts.ptl
@@ -812,7 +812,7 @@ POST request. You can desactivate some or all of them, or change their value.'''
page = current_form.sub('<form method="post" action="/liberty/%(name)s/login"><input type="submit" value="Connexion" /></form>', page)'''
% { 'auth_form_action': self.host.auth_form_action, 'name': self.host.name })
for filter in filters:
- python_file.write(" r = re.compile(r\"\"\"%s\"\"\", re.DOTALL)\n" % filter["re"])
+ python_file.write(" r = re.compile(r\"\"\"%s\"\"\")\n" % filter["re"])
python_file.write(" page = r.sub(r\"\"\"%s\"\"\", page)\n" % filter["sub"])
python_file.write(" return page\n")
python_file.close()