Skip to content

Commit 1b4f39e

Browse files
committed
Python 2/3 compatibility, fixes #6
1 parent dc74b6c commit 1b4f39e

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)