summaryrefslogtreecommitdiff
path: root/pysnmp/proto/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysnmp/proto/cache.py')
-rw-r--r--pysnmp/proto/cache.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pysnmp/proto/cache.py b/pysnmp/proto/cache.py
index eb3e3b69..a86b991c 100644
--- a/pysnmp/proto/cache.py
+++ b/pysnmp/proto/cache.py
@@ -6,6 +6,7 @@
#
from pysnmp.proto import error
+
class Cache:
def __init__(self):
self.__cacheRepository = {}
@@ -26,7 +27,7 @@ class Cache:
if index not in self.__cacheRepository:
raise error.ProtocolError(
'Cache miss on update for %s' % kwargs
- )
+ )
self.__cacheRepository[index].update(kwargs)
def expire(self, cbFun, cbCtx):