Skip to content
Snippets Groups Projects
Commit 10d629e1 authored by Pavel Kácha's avatar Pavel Kácha
Browse files

More explicit (and correct) py version check

parent 497c8ac0
Branches
Tags
No related merge requests found
...@@ -22,7 +22,7 @@ import M2Crypto.X509 ...@@ -22,7 +22,7 @@ import M2Crypto.X509
import MySQLdb as my import MySQLdb as my
import MySQLdb.cursors as mycursors import MySQLdb.cursors as mycursors
if sys.version_info > (3, 0): if sys.version_info[0] >= 3:
import configparser as ConfigParser import configparser as ConfigParser
from urllib.parse import parse_qs from urllib.parse import parse_qs
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment