diff --git a/pusher/pusher_client.py b/pusher/pusher_client.py index 73f55c5..8f57c15 100644 --- a/pusher/pusher_client.py +++ b/pusher/pusher_client.py @@ -6,7 +6,12 @@ absolute_import, division) -import collections +import sys +# Abstract Base Classes were moved into collections.abc in Python 3.3 +if sys.version_info >= (3,3): + import collections.abc as collections +else: + import collections import hashlib import os import re