aboutsummaryrefslogtreecommitdiffstats
path: root/mail2news.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2014-12-15 17:37:40 +0100
committerMatěj Cepl <mcepl@cepl.eu>2014-12-15 17:55:52 +0100
commitf65b8f618ed0b59f0c2c14321bbfa9de8e802169 (patch)
tree372844320f2abac1579636198d36ec3a6e7d34eb /mail2news.py
parente3ab39bf39d0ba75f6eb504752ef0ffb4bf4a3b1 (diff)
downloadpygn-f65b8f618ed0b59f0c2c14321bbfa9de8e802169.tar.gz
Add a simple test suite.
And also fix one embarrassing typo in mail2news module. Fixes #1 Fixes #4 Fixes #6
Diffstat (limited to 'mail2news.py')
-rw-r--r--mail2news.py2
1 files changed, 1 insertions, 1 deletions
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]