Missing regex
This commit is contained in:
1 parent
27887daf3f
commit
f3fbb1c99d
1 file changed
+4
@@ -11,6 +11,7 @@
|
||||
__version__ = '0.9.7'
|
||||
|
||||
import os
|
||||
import re
|
||||
import milter
|
||||
import thread
|
||||
|
||||
@@ -48,6 +49,9 @@ OPTIONAL_CALLBACKS = {
|
||||
'header':(P_NR_HDR,P_NOHDRS)
|
||||
}
|
||||
|
||||
## @private
|
||||
R = re.compile(r'%+')
|
||||
|
||||
## @private
|
||||
def decode_mask(bits,names):
|
||||
t = [ (s,getattr(milter,s)) for s in names]
|
||||
|
||||
Reference in new issue
Block a user