Comment updates

This commit is contained in:
Stuart Gathman
2009-05-29 01:14:44 +00:00
parent 31aa39034b
commit 2937935fea
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -95,7 +95,7 @@ class Base(object):
return ALL_OPTS return ALL_OPTS
return CONTINUE return CONTINUE
# Milter methods which can be invoked from callbacks # Milter methods which can be invoked from most callbacks
def getsymval(self,sym): def getsymval(self,sym):
return self.__ctx.getsymval(sym) return self.__ctx.getsymval(sym)
@@ -104,6 +104,7 @@ class Base(object):
def setreply(self,rcode,xcode=None,msg=None,*ml): def setreply(self,rcode,xcode=None,msg=None,*ml):
return self.__ctx.setreply(rcode,xcode,msg,*ml) return self.__ctx.setreply(rcode,xcode,msg,*ml)
# may only be called from negotiate callback
def setsmlist(self,stage,macros): def setsmlist(self,stage,macros):
if not self.__actions & SETSMLIST: raise DisabledAction("SETSMLIST") if not self.__actions & SETSMLIST: raise DisabledAction("SETSMLIST")
if type(macros) in (list,tuple): if type(macros) in (list,tuple):
+3
View File
@@ -83,6 +83,9 @@ chmod a+x $RPM_BUILD_ROOT%{libdir}/start.sh
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Thu May 28 2009 Stuart Gathman <stuart@bmsi.com> 0.9.2-1
- Add new callback support: data,negotiate,unknown
* Thu Feb 05 2009 Stuart Gathman <stuart@bmsi.com> 0.9.1-1 * Thu Feb 05 2009 Stuart Gathman <stuart@bmsi.com> 0.9.1-1
- Fix missing address of optional param to addrcpt - Fix missing address of optional param to addrcpt