Skip to content

Commit 2b8690d

Browse files
authored
Merge pull request #7 from vesche/python-2-3-compatibility
Python 2/3 compatibility, fixes #6
2 parents dc74b6c + 1b4f39e commit 2b8690d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ipinfo/cache/__init__.py

Whitespace-only changes.

ipinfo/cache/interface.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
"""
44

55
import abc
6+
import six
67

78

8-
class CacheInterface(metaclass=abc.ABCMeta):
9+
@six.add_metaclass(abc.ABCMeta)
10+
class CacheInterface():
911
"""Interface for using custom cache."""
1012

1113
@abc.abstractmethod

0 commit comments

Comments
 (0)