diff options
author | Robert Sullivan <robert.sullivan@octoenergy.com> | 2017-04-25T14·33+0100 |
---|---|---|
committer | Robert Sullivan <robert.sullivan@octoenergy.com> | 2017-04-25T14·33+0100 |
commit | babb3f83d375bd69e6d5048c69c2051141b5b674 (patch) | |
tree | d51256e8eb9c43f330b306a1790c725493c4f029 | |
parent | d989c27d36aa2b3b2da93be6edb8171221a88096 (diff) |
Python3.5 syntax changes
-rw-r--r-- | broadlink/__init__.py | 2 | ||||
-rw-r--r-- | setup.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/broadlink/__init__.py b/broadlink/__init__.py index 68ad55990752..3fe28a81c920 100644 --- a/broadlink/__init__.py +++ b/broadlink/__init__.py @@ -3,7 +3,7 @@ from datetime import datetime try: from Crypto.Cipher import AES -except ImportError, e: +except ImportError as e: import pyaes import time diff --git a/setup.py b/setup.py index 912cd301ac34..ed627fe13b73 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ import warnings try: import pyaes dynamic_requires = ["pyaes==1.6.0"] -except ImportError, e: +except ImportError as e: dynamic_requires = ['pycrypto==2.6.1'] version = 0.3 |