From 90c27a3e41b7e7b8060679478b6ea43d9627f332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 1 Mar 2016 16:18:55 +0100 Subject: [PATCH] misc: add "re" module to global symbols dict (#10145) --- wcs/qommon/publisher.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcs/qommon/publisher.py b/wcs/qommon/publisher.py index 6e24f02..499f539 100644 --- a/wcs/qommon/publisher.py +++ b/wcs/qommon/publisher.py @@ -137,7 +137,8 @@ class QommonPublisher(Publisher): import datetime from decimal import Decimal return {'datetime': datetime, - 'Decimal': Decimal} + 'Decimal': Decimal, + 're': re} def format_publish_error(self, exc): get_response().filter = {} -- 2.7.0