summaryrefslogtreecommitdiff
path: root/examples/hlapi/asyncore/sync/agent/ntforg/custom-contextengineid.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hlapi/asyncore/sync/agent/ntforg/custom-contextengineid.py')
-rw-r--r--examples/hlapi/asyncore/sync/agent/ntforg/custom-contextengineid.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/examples/hlapi/asyncore/sync/agent/ntforg/custom-contextengineid.py b/examples/hlapi/asyncore/sync/agent/ntforg/custom-contextengineid.py
index 0c02b962..6c4e7adc 100644
--- a/examples/hlapi/asyncore/sync/agent/ntforg/custom-contextengineid.py
+++ b/examples/hlapi/asyncore/sync/agent/ntforg/custom-contextengineid.py
@@ -34,11 +34,8 @@ errorIndication, errorStatus, errorIndex, varBinds = next(
if errorIndication:
print(errorIndication)
elif errorStatus:
- print('%s at %s' % (
- errorStatus.prettyPrint(),
- errorIndex and varBinds[int(errorIndex)-1][0] or '?'
- )
- )
+ print('%s at %s' % (errorStatus.prettyPrint(),
+ errorIndex and varBinds[int(errorIndex) - 1][0] or '?'))
else:
for varBind in varBinds:
- print(' = '.join([ x.prettyPrint() for x in varBind ]))
+ print(' = '.join([x.prettyPrint() for x in varBind]))