From 3f1a8bd116e99bb727cf1103a4ed7be394957ad7 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 4 Jan 2016 21:21:55 +0100 Subject: host: Add spam filter sample --- host/secret_sauce.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 host/secret_sauce.py diff --git a/host/secret_sauce.py b/host/secret_sauce.py new file mode 100644 index 0000000..bf183ac --- /dev/null +++ b/host/secret_sauce.py @@ -0,0 +1,7 @@ + +class SpamError(ValueError): + def __str__(self): + return ' '.join(self.args) + +def check_spam(addr, data): + pass -- cgit