summaryrefslogtreecommitdiff
path: root/examples/v3arch/manager/setgen.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/v3arch/manager/setgen.py')
-rw-r--r--examples/v3arch/manager/setgen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/v3arch/manager/setgen.py b/examples/v3arch/manager/setgen.py
index 30b022b..2c8a833 100644
--- a/examples/v3arch/manager/setgen.py
+++ b/examples/v3arch/manager/setgen.py
@@ -51,9 +51,9 @@ if cbCtx['errorIndication']:
print cbCtx['errorIndication']
elif cbCtx['errorStatus']:
print '%s at %s' % (
- cbCtx['errorStatus'].prettyOut(cbCtx['errorStatus']),
+ cbCtx['errorStatus'].prettyPrint(),
cbCtx['varBinds'][int(cbCtx['errorIndex'])-1]
)
else:
for o, v in cbCtx['varBinds']:
- print '%s = %s' % (o, v.prettyOut(v))
+ print '%s = %s' % (o.prettyPrint(), v.prettyPrint())