summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2016-04-12 08:29:22 +0200
committerIlya Etingof <etingof@gmail.com>2016-04-12 08:29:22 +0200
commit5581816b426b308efe5d8b9e7c1d03d923acd05f (patch)
tree1a8648b63c5be8cf4ab6205e50d2a034728af91d /README.md
parent5d43d5f36a264a688523560f25b852608b3275f7 (diff)
downloadpysnmp-git-5581816b426b308efe5d8b9e7c1d03d923acd05f.tar.gz
missing comma fix
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index feb87da4..accf1c68 100644
--- a/README.md
+++ b/README.md
@@ -95,7 +95,7 @@ if errorIndication: # SNMP engine errors
print(errorIndication)
else:
if errorStatus: # SNMP agent errors
- print(%s at %s' % (errorStatus.prettyPrint(), varBinds[int(errorIndex)-1] if errorIndex else '?'))
+ print('%s at %s' % (errorStatus.prettyPrint(), varBinds[int(errorIndex)-1] if errorIndex else '?'))
else:
for varBind in varBinds: # SNMP response contents
print(' = '.join([x.prettyPrint() for x in varBind]))