Attempt to fix version check so that it was compatible with 2.6
This commit is contained in:
parent
f4c12e4d24
commit
d71f2404c6
|
@ -27,9 +27,8 @@ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|||
DEALINGS IN THE SOFTWARE.
|
||||
'''
|
||||
|
||||
import sys
|
||||
_python3 = sys.version_info.major >= 3
|
||||
|
||||
import platform
|
||||
_python3 = int(platform.python_version_tuple()[0]) >= 3
|
||||
|
||||
class multi_key_dict(object):
|
||||
""" The purpose of this type is to provide a multi-key dictionary.
|
||||
|
|
Loading…
Reference in New Issue