Kaydet (Commit) 8b6bb4f7 authored tarafından Piers Lauder's avatar Piers Lauder

remove redundant code

üst 385a77ac
...@@ -7,6 +7,6 @@ timevalues = [(2033, 5, 18, 3, 33, 20, 2, 138, 0), '"18-May-2033 13:33:20 +1000" ...@@ -7,6 +7,6 @@ timevalues = [(2033, 5, 18, 3, 33, 20, 2, 138, 0), '"18-May-2033 13:33:20 +1000"
for t in timevalues: for t in timevalues:
t1 = imaplib.Time2Internaldate(t) t1 = imaplib.Time2Internaldate(t)
t2 = imaplib.Time2Internaldate(imaplib.Internaldate2tuple('INTERNALDATE ' + imaplib.Time2Internaldate(t))) t2 = imaplib.Time2Internaldate(imaplib.Internaldate2tuple('INTERNALDATE ' + t1))
if t1 <> t2: if t1 <> t2:
print 'incorrect result when converting', `t` print 'incorrect result when converting', `t`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment