Kaydet (Commit) 016ef551 authored tarafından Alexander Belopolsky's avatar Alexander Belopolsky

Removed redundant code

üst 9125775a
......@@ -1670,10 +1670,8 @@ class datetime(date):
if mytz is ottz:
base_compare = True
else:
if mytz is not None:
myoff = self.utcoffset()
if ottz is not None:
otoff = other.utcoffset()
myoff = self.utcoffset()
otoff = other.utcoffset()
base_compare = myoff == otoff
if base_compare:
......
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