Squish: Improve Python2/Python3 compatibility

Change-Id: I49dc9ee2f4ef52900b403ed94f0c6cd5925239b6
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
This commit is contained in:
Christian Stenger
2021-08-11 13:40:30 +02:00
parent e9f53752ee
commit 0408b4a757
5 changed files with 21 additions and 13 deletions
+4 -1
View File
@@ -23,7 +23,10 @@
#
############################################################################
import __builtin__
try:
import __builtin__ # Python 2
except ImportError:
import builtins as __builtin__ # Python 3
# for easier re-usage (because Python hasn't an enum type)
class Targets: