From f65b8f618ed0b59f0c2c14321bbfa9de8e802169 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Mon, 15 Dec 2014 17:37:40 +0100 Subject: Add a simple test suite. And also fix one embarrassing typo in mail2news module. Fixes #1 Fixes #4 Fixes #6 --- mail2news.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail2news.py') diff --git a/mail2news.py b/mail2news.py index 697de0b..d340432 100644 --- a/mail2news.py +++ b/mail2news.py @@ -46,7 +46,7 @@ class mail2news: def readfile(self): for line in sys.stdin.readlines(): - sef.email.append(line) + self.email.append(line) if(len(self.email) == 1 and self.email[0][0] == '/'): file = self.email[0][:-1] -- cgit