Projet

Général

Profil

0001-misc-add-re-module-to-global-symbols-dict-10145.patch

Frédéric Péters, 01 mars 2016 16:19

Télécharger (842 octets)

Voir les différences:

Subject: [PATCH] misc: add "re" module to global symbols dict (#10145)

 wcs/qommon/publisher.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
wcs/qommon/publisher.py
137 137
        import datetime
138 138
        from decimal import Decimal
139 139
        return {'datetime': datetime,
140
                'Decimal': Decimal}
140
                'Decimal': Decimal,
141
                're': re}
141 142

  
142 143
    def format_publish_error(self, exc):
143 144
        get_response().filter = {}
144
-