FIT IoT-Lab shell: modified add_user category of user is required
[sfa.git] / sfa / util / py23.py
index c1a0ec8..7cd55cd 100644 (file)
@@ -1,4 +1,7 @@
 # our own simplistic replacement for six
+import sys
+PY3 = sys.version_info[0] == 3
+
 try:
     StringType = basestring
 except:
@@ -18,7 +21,7 @@ try:
     import httplib as http_client
 except:
     from http import client as http_client
-    
+
 try:
     import ConfigParser
 except: