diff options
author | Ilya Etingof <etingof@gmail.com> | 2016-06-12 14:07:24 +0200 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2016-06-12 14:07:24 +0200 |
commit | 91a1292067bfda55320f188eb1c8cce4af7a3266 (patch) | |
tree | c73fd39bf0eaf76207efdc6ed4ed191e50f31bf9 /examples/hlapi | |
parent | 912517cb2d79fddc512a1304c18a9b20cb20cf80 (diff) | |
download | pysnmp-git-91a1292067bfda55320f188eb1c8cce4af7a3266.tar.gz |
converted to new-style classes
Diffstat (limited to 'examples/hlapi')
-rw-r--r-- | examples/hlapi/asyncore/sync/manager/cmdgen/query-agents-from-multuple-threads.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hlapi/asyncore/sync/manager/cmdgen/query-agents-from-multuple-threads.py b/examples/hlapi/asyncore/sync/manager/cmdgen/query-agents-from-multuple-threads.py index d289982e..f5fe5fdf 100644 --- a/examples/hlapi/asyncore/sync/manager/cmdgen/query-agents-from-multuple-threads.py +++ b/examples/hlapi/asyncore/sync/manager/cmdgen/query-agents-from-multuple-threads.py @@ -79,7 +79,7 @@ class Worker(Thread): self.requests.task_done() -class ThreadPool: +class ThreadPool(object): def __init__(self, num_threads): self.requests = Queue(num_threads) self.responses = [] |