summaryrefslogtreecommitdiff
path: root/pysnmp/nextid.py
diff options
context:
space:
mode:
authorelie <elie>2015-11-20 20:57:28 +0000
committerelie <elie>2015-11-20 20:57:28 +0000
commit87a7a35d1e9f762210c7520315158ceb5f5487d9 (patch)
tree6237737a13112a151e5c04917e8f64cb5158cc8b /pysnmp/nextid.py
parent0d55f58dcef1d8b3b9a044ec805575fb3b06d343 (diff)
downloadpysnmp-git-87a7a35d1e9f762210c7520315158ceb5f5487d9.tar.gz
copyright notice added to source code
Diffstat (limited to 'pysnmp/nextid.py')
-rw-r--r--pysnmp/nextid.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/pysnmp/nextid.py b/pysnmp/nextid.py
index a30eb0d9..aa46eced 100644
--- a/pysnmp/nextid.py
+++ b/pysnmp/nextid.py
@@ -1,9 +1,15 @@
-# Return a next value in a reasonably MT-safe manner
+#
+# This file is part of pysnmp software.
+#
+# Copyright (c) 2005-2015, Ilya Etingof <ilya@glas.net>
+# License: http://pysnmp.sf.net/license.html
+#
import random
random.seed()
class Integer:
+ """Return a next value in a reasonably MT-safe manner"""
def __init__(self, maximum, increment=256):
self.__maximum = maximum
if increment >= maximum: