From 7f9ea8c5767d9d41b3b91a36ff7e8127bc33f6a1 Mon Sep 17 00:00:00 2001
From: Oleksii Shevchuk
Date: Mon, 6 Mar 2017 18:54:22 +0200
Subject: [PATCH] Fix arch setting
---
pupy/packages/all/pupyimporter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pupy/packages/all/pupyimporter.py b/pupy/packages/all/pupyimporter.py
index d0bfdbf2..9745c6fa 100644
--- a/pupy/packages/all/pupyimporter.py
+++ b/pupy/packages/all/pupyimporter.py
@@ -370,7 +370,7 @@ def install(debug=False):
import platform
platform._syscmd_uname = lambda *args, **kwargs: ''
platform.architecture = lambda *args, **kwargs: (
- '32bit' if pupy.get_arch() is 'x86' else '64bit', ''
+ '32bit' if pupy.get_arch() == 'x86' else '64bit', ''
)
if 'win' in sys.platform: