1.1 --- a/MoinMessage.py Fri Apr 10 17:21:27 2015 +0200
1.2 +++ b/MoinMessage.py Sat Apr 11 17:07:36 2015 +0200
1.3 @@ -19,7 +19,6 @@
1.4 from subprocess import Popen, PIPE
1.5 from tempfile import mkstemp
1.6 from urlparse import urlsplit
1.7 -from DateSupport import getDateTimeFromRFC2822
1.8 from GPGUtils import GPG, GPGError, GPGDecodingError, GPGMissingPart, GPGBadContent, \
1.9 as_string, is_signed, is_encrypted, getContentAndSignature
1.10 import httplib
1.11 @@ -60,10 +59,7 @@
1.12
1.13 "Obtain the date of the given 'message'."
1.14
1.15 - if message.has_key("Date"):
1.16 - self.date = getDateTimeFromRFC2822(message["Date"])
1.17 - else:
1.18 - self.date = None
1.19 + self.date = message.get("Date")
1.20
1.21 def parse_text(self, text):
1.22