Commit dfcb899f authored by Maciej Fijalkowski's avatar Maciej Fijalkowski

use more canonical way of comparing stuff

parent 6e2f4432
......@@ -7,7 +7,7 @@
# and the branch stage 2 is started, where we remove this patch.
import sys
if hasattr(sys, "maxsize"):
if sys.maxint <> sys.maxsize:
if sys.maxint != sys.maxsize:
sys.maxint = sys.maxsize
import warnings
warnings.warn("""\n
......
......@@ -10,7 +10,7 @@ __all__ = ['main']
# and the branch stage 2 is started, where we remove this patch.
import sys
if hasattr(sys, "maxsize"):
if sys.maxint <> sys.maxsize:
if sys.maxint != sys.maxsize:
sys.maxint = sys.maxsize
import warnings
warnings.warn("""\n
......
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