diff options
author | elie <elie> | 2010-12-12 21:11:41 +0000 |
---|---|---|
committer | elie <elie> | 2010-12-12 21:11:41 +0000 |
commit | 9861e9dd9d3aa344c7263b6e23a5ff32da1417ba (patch) | |
tree | 3c74a84a9826e059142f056a4bc4a0db0a6ace14 /pysnmp/proto/api | |
parent | ea62d3cb06efc5225c871b8475849da4b49a7ac4 (diff) | |
download | pysnmp-git-9861e9dd9d3aa344c7263b6e23a5ff32da1417ba.tar.gz |
'self' shadowing in lambda fixes
Diffstat (limited to 'pysnmp/proto/api')
-rw-r--r-- | pysnmp/proto/api/v1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/proto/api/v1.py b/pysnmp/proto/api/v1.py index dac8971b..2096f33b 100644 --- a/pysnmp/proto/api/v1.py +++ b/pysnmp/proto/api/v1.py @@ -102,7 +102,7 @@ class PDUAPI: def getVarBindTable(self, reqPDU, rspPDU): if apiPDU.getErrorStatus(rspPDU) == 2: return [ - map(lambda (x,y): (x, self._null), apiPDU.getVarBinds(reqPDU)) + map(lambda (x,y),self=self: (x, self._null), apiPDU.getVarBinds(reqPDU)) ] else: return [ apiPDU.getVarBinds(rspPDU) ] |