Skip to content
Snippets Groups Projects
Commit f3fbb1c9 authored by Stuart Gathman's avatar Stuart Gathman
Browse files

Missing regex

parent 27887daf
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
__version__ = '0.9.7' __version__ = '0.9.7'
import os import os
import re
import milter import milter
import thread import thread
...@@ -48,6 +49,9 @@ OPTIONAL_CALLBACKS = { ...@@ -48,6 +49,9 @@ OPTIONAL_CALLBACKS = {
'header':(P_NR_HDR,P_NOHDRS) 'header':(P_NR_HDR,P_NOHDRS)
} }
## @private
R = re.compile(r'%+')
## @private ## @private
def decode_mask(bits,names): def decode_mask(bits,names):
t = [ (s,getattr(milter,s)) for s in names] t = [ (s,getattr(milter,s)) for s in names]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment