Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Distinguish between DATA reply and content reply

  • Loading branch information...
commit 4b0bb7d34bee64a8bab8d0bdb41b2cc411e3d90d 1 parent d543bd2
Jack Bates authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 cookie
View
8 cookie
@@ -202,7 +202,7 @@ def _():
#return ...
raise StopIteration(ctx.afterRecipient((yield ctx.ctx.command()), ctx.afterRecipient))
- raise dataReply
+ raise (yield dataReply)
# Authenticated, ESMTPA
@@ -295,7 +295,7 @@ def _():
raise StopIteration(ctx.afterRecipient((yield ctx.ctx.command()), ctx.afterRecipient))
#return ...
- raise StopIteration(dataReply)
+ raise StopIteration(promise.promise()(dataReply))
try:
sender = yield messageId(rfc5322.inReplyTo)
@@ -379,9 +379,9 @@ def _():
#return ...
raise StopIteration(reset)
- raise reply
+ raise (yield reply)
- raise (yield send(*ctx.recipient.__self__))
+ raise (yield (yield send(*ctx.recipient.__self__)))
listen = tcp.listen(1438, interface='localhost')
while True:
Please sign in to comment.
Something went wrong with that request. Please try again.