summaryrefslogtreecommitdiff
path: root/python/netlink/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/netlink/core.py')
-rw-r--r--python/netlink/core.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/netlink/core.py b/python/netlink/core.py
index 3aa69c46..ecb02c3e 100644
--- a/python/netlink/core.py
+++ b/python/netlink/core.py
@@ -463,7 +463,8 @@ class ReverseObjIterator(ObjIterator):
class Cache(object):
"""Collection of netlink objects"""
def __init__(self):
- raise NotImplementedError()
+ if self.__class__ is Cache:
+ raise NotImplementedError()
self.arg1 = None
self.arg2 = None