Milter.utils.parse_header returns string, other py3 fixes

This commit is contained in:
Stuart D. Gathman
2020-06-25 19:47:38 -04:00
parent 7ea839cfb1
commit f37090371b
5 changed files with 15 additions and 8 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ class TestBase(object):
def getsymval(self,name):
stage = self._stage
if stage >= 0:
if stage is not None and stage >= 0:
syms = self._symlist[stage]
if syms is not None and name not in syms:
return None