summaryrefslogtreecommitdiff
path: root/pysnmp/hlapi/varbinds.py
diff options
context:
space:
mode:
authorelie <elie>2015-10-17 20:22:30 +0000
committerelie <elie>2015-10-17 20:22:30 +0000
commita46f37c26520015e3ad8628587db3899f55d8c33 (patch)
tree6798d1e7f1a5bac03b595d4e6b27b8735bb9c1eb /pysnmp/hlapi/varbinds.py
parent9e73d5b89c6121437b92f02482b4423ab526b51a (diff)
downloadpysnmp-git-a46f37c26520015e3ad8628587db3899f55d8c33.tar.gz
linted for bad-whitespace and some other issues
Diffstat (limited to 'pysnmp/hlapi/varbinds.py')
-rw-r--r--pysnmp/hlapi/varbinds.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pysnmp/hlapi/varbinds.py b/pysnmp/hlapi/varbinds.py
index 90b92bcb..420ba942 100644
--- a/pysnmp/hlapi/varbinds.py
+++ b/pysnmp/hlapi/varbinds.py
@@ -34,7 +34,7 @@ class CommandGeneratorVarBinds(AbstractVarBinds):
def unmakeVarBinds(self, snmpEngine, varBinds, lookupMib=True):
if lookupMib:
mibViewController = self.getMibViewController(snmpEngine)
- varBinds = [ ObjectType(ObjectIdentity(x[0]), x[1]).resolveWithMib(mibViewController) for x in varBinds ]
+ varBinds = [ObjectType(ObjectIdentity(x[0]), x[1]).resolveWithMib(mibViewController) for x in varBinds]
return varBinds
@@ -57,6 +57,6 @@ class NotificationOriginatorVarBinds(AbstractVarBinds):
def unmakeVarBinds(self, snmpEngine, varBinds, lookupMib=False):
if lookupMib:
mibViewController = self.getMibViewController(snmpEngine)
- varBinds = [ ObjectType(ObjectIdentity(x[0]), x[1]).resolveWithMib(mibViewController) for x in varBinds ]
+ varBinds = [ObjectType(ObjectIdentity(x[0]), x[1]).resolveWithMib(mibViewController) for x in varBinds]
return varBinds