summaryrefslogtreecommitdiff
path: root/pysnmp/nextid.py
diff options
context:
space:
mode:
authorelie <elie>2008-04-28 07:59:46 +0000
committerelie <elie>2008-04-28 07:59:46 +0000
commit246142625ec2199ccdc0d22005a9231bc2db0f5f (patch)
tree1521a7dc9b3370c33d5d9612a22e1f757818046e /pysnmp/nextid.py
parenteb57702730769ba00441eab54223b5ff1c34eb86 (diff)
downloadpysnmp-246142625ec2199ccdc0d22005a9231bc2db0f5f.tar.gz
avoid extra recursion
Diffstat (limited to 'pysnmp/nextid.py')
-rw-r--r--pysnmp/nextid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/nextid.py b/pysnmp/nextid.py
index 222fe0d..256aedc 100644
--- a/pysnmp/nextid.py
+++ b/pysnmp/nextid.py
@@ -27,4 +27,4 @@ class Integer:
if e > self.__maximum:
e = 0
self.__bank.extend(range(e, e+self.__increment))
- return self()
+ return v