summaryrefslogtreecommitdiff
path: root/examples/v3arch/manager/bulkgen.py
diff options
context:
space:
mode:
authorelie <elie>2005-10-14 16:13:31 +0000
committerelie <elie>2005-10-14 16:13:31 +0000
commitd1e7a25931f73d5acf41d89580355d29f1e7d977 (patch)
tree4705c49a26415936f03779fcf4e1afb93b26737a /examples/v3arch/manager/bulkgen.py
parentc31e0b75fddb5a21784f3d74c1801ae580207665 (diff)
downloadpysnmp-d1e7a25931f73d5acf41d89580355d29f1e7d977.tar.gz
prettyOut() -> prettyPrint()
Diffstat (limited to 'examples/v3arch/manager/bulkgen.py')
-rw-r--r--examples/v3arch/manager/bulkgen.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/v3arch/manager/bulkgen.py b/examples/v3arch/manager/bulkgen.py
index e87b2dc..1e2a4fe 100644
--- a/examples/v3arch/manager/bulkgen.py
+++ b/examples/v3arch/manager/bulkgen.py
@@ -37,14 +37,14 @@ def cbFun(sendRequesthandle, errorIndication, errorStatus, errorIndex,
print errorIndication
return
if errorStatus:
- print errorStatus.prettyOut(errorStatus)
+ print errorStatus.prettyPrint()
return
for varBindRow in varBindTable:
for oid, val in varBindRow:
if val is None:
- print oid
+ print oid.prettyPrint()
else:
- print '%s = %s' % (oid, val.prettyOut(val))
+ print '%s=%s' % (oid.prettyPrint(), val.prettyPrint())
for oid, val in varBindTable[-1]:
if val is not None:
break