From d35ed40edf1dd18db700355dc239675f563b087c Mon Sep 17 00:00:00 2001 From: Stuart Gathman Date: Fri, 27 Feb 2015 01:04:27 +0000 Subject: [PATCH] Fix header_leading_space, update doc version. Conflicts: Doxyfile testgrey.py --- Doxyfile | 2 +- Milter/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doxyfile b/Doxyfile index 85e5315..916daf7 100644 --- a/Doxyfile +++ b/Doxyfile @@ -31,7 +31,7 @@ PROJECT_NAME = pymilter # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 0.9.6 +PROJECT_NUMBER = 1.0 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. diff --git a/Milter/__init__.py b/Milter/__init__.py index 482dc23..2a5ec4f 100755 --- a/Milter/__init__.py +++ b/Milter/__init__.py @@ -103,7 +103,7 @@ def rejected_recipients(klass): return enable_protocols(klass,P_RCPT_REJ) ## Milter leading space on headers. A class decorator that calls -# enable_protocols() with the P_HEAD_LEADSPC flag. By default, +# enable_protocols() with the P_HDR_LEADSPC flag. By default, # header continuation lines are collected and joined before getting # sent to a milter. Headers modified or added by the milter are # folded by the MTA as necessary according to its own standards. @@ -121,7 +121,7 @@ def rejected_recipients(klass): # @param klass the %milter application class to modify # @return the modified %milter class def header_leading_space(klass): - return enable_protocols(klass,P_HEAD_LEADSPC) + return enable_protocols(klass,P_HDR_LEADSPC) ## Function decorator to disable callback methods. # If the MTA supports it, tells the MTA not to invoke this callback,