Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openknot/broker-smtp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 78ede4dbbaa5
Choose a base ref
...
head repository: openknot/broker-smtp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 933091024217
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Jul 29, 2015

  1. Updated docstring

    prologic committed Jul 29, 2015

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    e6b23d2 View commit details
  2. Fixed RSET parameter

    prologic committed Jul 29, 2015

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    9330910 View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 broker-smtp.py
4 changes: 2 additions & 2 deletions broker-smtp.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /usr/bin/env python


"""An RFC 2821 SMTP Server"""
"""SMTP Broker"""


from __future__ import print_function
@@ -213,7 +213,7 @@ def smtp_RCPT(self, arg):
self.__rcpttos.append(address)
self.push("250 Ok")

def smtp_RSET(self, arg):
def smtp_RSET(self, arg=None):
if arg:
self.push("501 Syntax: RSET")
return