Missing regex
This commit is contained in:
@@ -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