Refs #40 -- Removed Python 3.2/3.3 support

This commit is contained in:
Raphael Michel
2015-08-22 14:22:55 +02:00
parent 6b341ed485
commit 9ab6cc52c7
6 changed files with 7 additions and 22 deletions

View File

@@ -1,9 +0,0 @@
import importlib.util
import sys
def module_exists(modname):
if sys.version_info[0:1] >= (3, 4):
return bool(importlib.util.find_spec(modname))
else:
return bool(importlib.find_loader(modname))