Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pymilter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
misc
pymilter
Commits
e4432156
Commit
e4432156
authored
15 years ago
by
Stuart Gathman
Browse files
Options
Downloads
Patches
Plain Diff
Fix typos.
parent
344ee43f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Milter/__init__.py
+2
-2
2 additions, 2 deletions
Milter/__init__.py
with
2 additions
and
2 deletions
Milter/__init__.py
+
2
−
2
View file @
e4432156
...
...
@@ -79,7 +79,7 @@ def enable_protocols(klass,mask):
# If the MTA supports it, tells the MTA not to call this callback,
# increasing efficiency. All the callbacks (except negotiate)
# are disabled in Milter.Base, and overriding them reenables the
# callback. An application may need to use @@callback when it extends
# callback. An application may need to use @@
no
callback when it extends
# another milter and wants to disable a callback again.
# The disabled method should still return Milter.CONTINUE, in case the MTA does
# not support protocol negotiation.
...
...
@@ -102,7 +102,7 @@ def nocallback(func):
def
noreply
(
func
):
try
:
nr_mask
=
OPTIONAL_CALLBACKS
[
func
.
__name__
][
0
]
except
KeyErro
:
except
KeyErro
r
:
raise
ValueError
(
'
@noreply applied to non-optional method:
'
+
func
.
__name__
)
def
wrapper
(
self
,
*
args
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment