projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a28ca8
)
found_terminator(): Add a debug print showing the data.
author
Barry Warsaw
<barry@python.org>
Mon, 13 Aug 2001 21:18:01 +0000
(21:18 +0000)
committer
Barry Warsaw
<barry@python.org>
Mon, 13 Aug 2001 21:18:01 +0000
(21:18 +0000)
Lib/smtpd.py
patch
|
blob
|
history
diff --git
a/Lib/smtpd.py
b/Lib/smtpd.py
index a99f7c5a6108a4a2d4516f9b943d99af2d86abb1..c1a2db5e8a8ef3fa6f2137fb6f6633f62c2daba1 100755
(executable)
--- a/
Lib/smtpd.py
+++ b/
Lib/smtpd.py
@@
-1,5
+1,5
@@
#! /usr/bin/env python
-"""An RFC 821 smtp proxy.
+"""An RFC
2
821 smtp proxy.
Usage: %(program)s [options] localhost:port remotehost:port
@@
-133,6
+133,7
@@
class SMTPChannel(asynchat.async_chat):
# Implementation of base class abstract method
def found_terminator(self):
line = EMPTYSTRING.join(self.__line)
+ print >> DEBUGSTREAM, 'Data:', repr(line)
self.__line = []
if self.__state == self.COMMAND:
if not line: