From 54e54c6877329e105406c48490f218faff59db39 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 4 Sep 2001 19:14:14 +0000 Subject: The first batch of changes recommended by the fixdiv tool. These are mostly changes of / operators into //. Once or twice I did more or less than recommended. --- Lib/rfc822.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/rfc822.py') diff --git a/Lib/rfc822.py b/Lib/rfc822.py index b3f7fb2274..430e6372f0 100644 --- a/Lib/rfc822.py +++ b/Lib/rfc822.py @@ -927,7 +927,7 @@ def parsedate_tz(data): tzoffset = -tzoffset else: tzsign = 1 - tzoffset = tzsign * ( (tzoffset/100)*3600 + (tzoffset % 100)*60) + tzoffset = tzsign * ( (tzoffset//100)*3600 + (tzoffset % 100)*60) tuple = (yy, mm, dd, thh, tmm, tss, 0, 0, 0, tzoffset) return tuple -- cgit v1.2.1