Merge pull request #86 from RobSullivan/master

Python3.5 syntax changes
This commit is contained in:
Daniel Høyer Iversen 2017-04-26 11:09:57 +02:00 committed by GitHub
commit f1d62380c9
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
from datetime import datetime from datetime import datetime
try: try:
from Crypto.Cipher import AES from Crypto.Cipher import AES
except ImportError, e: except ImportError as e:
import pyaes import pyaes
import time import time

View file

@ -9,7 +9,7 @@ import warnings
try: try:
import pyaes import pyaes
dynamic_requires = ["pyaes==1.6.0"] dynamic_requires = ["pyaes==1.6.0"]
except ImportError, e: except ImportError as e:
dynamic_requires = ['pycrypto==2.6.1'] dynamic_requires = ['pycrypto==2.6.1']
version = 0.3 version = 0.3