summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2018-07-03 08:05:23 +0200
committerIlya Etingof <etingof@gmail.com>2018-07-03 08:05:23 +0200
commit7f65dde49ad68b295e32fc73fc20f2dc7d0f2ffc (patch)
treeac6ea67e4faec2be3df957125f0e6756e0dc0150
parentda4539e34cacdc0bd6ecfba98dc48caecc12b104 (diff)
downloadpysnmp-git-7f65dde49ad68b295e32fc73fc20f2dc7d0f2ffc.tar.gz
Fix typos
-rw-r--r--CHANGES.txt12
-rw-r--r--docs/source/docs/snmp-design.rst2
-rw-r--r--examples/smi/manager/mib-tree-inspection.py4
-rw-r--r--pysnmp/smi/rfc1902.py2
4 files changed, 10 insertions, 10 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index ca6eb6d7..64768b3d 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -589,7 +589,7 @@ Revision 4.2.4, released 2013-01-30
defaulted value changed from None to () meaning no var-binds.
- Attempt to convert Windows style EOL into UNIX ones in MIB source
modules appeared to be unnecessary and even destructive to modules
- data in some cases. So the convertion code removed altogether.
+ data in some cases. So the conversion code removed altogether.
- Fix to isAccessAllowed() error handling at NotificationOriginator. System
used to crash on access denied condition.
- Fix to NotificationOriginator to make it use system uptime and trap OID
@@ -850,7 +850,7 @@ Revision 4.1.16a, released 2011-03-17
configuration (LCD).
+ default debug.logger is now just a zero value instead of an object
what saves big on frequent calls
- + SNMPv2-SMI columnar indices <-> index values convertion code optimized.
+ + SNMPv2-SMI columnar indices <-> index values conversion code optimized.
+ pre-compute and re-use some of ASN.1 structures.
+ avoid setting PDU defaults to save on unnecessary initialization.
+ skip ASN.1 types verification where possible.
@@ -1040,7 +1040,7 @@ Revision 4.1.9a, released 2007-11-28
effects.
- Fix to rfc2576.v1ToV2c() PDU converter to perform noSuchName error code
translation.
-- Fixes to Notification PDU convertion code at rfc2576 in part of
+- Fixes to Notification PDU conversion code at rfc2576 in part of
snmpTrapOID handling.
- Fix to nonRepeaters object use as sequence slicer (must be int) at
cmdrsp.CommandResponderApplication
@@ -1062,7 +1062,7 @@ Revision 4.1.8a, released 2007-08-14
------------------------------------
- UNSTABLE ALPHA RELEASE.
-- SMI/dispatcher timeout convertion multiplier is actually 100 (1/100 sec)
+- SMI/dispatcher timeout conversion multiplier is actually 100 (1/100 sec)
rather than 1/1000. This fix affects timeouts specified through SMI.
- __repr__() implemented for UdpTransportTarget, CommunityData, UsmUserData
in oneliner module.
@@ -1113,7 +1113,7 @@ Revision 4.1.7a, released 2007-02-19
- Fix to MibViewController.getNodeName() to take MIB module name
into account (SF bug #1505847).
- Do explicit check for Counter32,Unsigned32,TimeTicks,Counter64 value types
- in MibTableRow index convertion and in TextualConvention.prettyPrint()
+ in MibTableRow index conversion and in TextualConvention.prettyPrint()
methods (SF bug #1506341). Handle Bits in indices as RFC2578 suggests.
- Apply read-create column status to libsmi2pysnmp-generated code
whenever MIB text specifies that (SF bug #1508955).
@@ -1137,7 +1137,7 @@ Revision 4.1.7a, released 2007-02-19
- LCD unconfiguration functions for oneliners implemented (SF bug #1635270).
- unloadModules() and unexportSymbols() implemented at MibBuilder
- Notification type PDU proxy code fixed to produce symmetrical
- convertion.
+ conversion.
- Various SNMP engine-internal caches expiration implemented.
- SMI-level access control now takes effect only if AC object is
passed to MIB instrumentation API.
diff --git a/docs/source/docs/snmp-design.rst b/docs/source/docs/snmp-design.rst
index 2752a918..c0cde7b4 100644
--- a/docs/source/docs/snmp-design.rst
+++ b/docs/source/docs/snmp-design.rst
@@ -227,7 +227,7 @@ engine loads those modules at runtime on demand. PySNMP MIB modules
are universal -- the same module can be consumed by both managed and
managing entities.
-MIB convertion is performed automatically by PySNMP, but technically,
+MIB conversion is performed automatically by PySNMP, but technically,
it is handled by PySNMP sister project called
`PySMI <http://snmplabs.com/pysmi/>`_. However you can also perform said
conversion by hand with PySMI's *mibdump.py* tool.
diff --git a/examples/smi/manager/mib-tree-inspection.py b/examples/smi/manager/mib-tree-inspection.py
index cff34b00..58b110a6 100644
--- a/examples/smi/manager/mib-tree-inspection.py
+++ b/examples/smi/manager/mib-tree-inspection.py
@@ -58,10 +58,10 @@ print('MIB node lookup by location: '),
rowNode, = mibBuilder.importSymbols(modName, symName)
print(rowNode)
-print('Conceptual table index value to oid convertion: '),
+print('Conceptual table index value to oid conversion: '),
oid = rowNode.getInstIdFromIndices('router')
print(oid)
-print('Conceptual table index oid to value convertion: '),
+print('Conceptual table index oid to value conversion: '),
print(rowNode.getIndicesFromInstId(oid))
print('MIB tree traversal')
diff --git a/pysnmp/smi/rfc1902.py b/pysnmp/smi/rfc1902.py
index 5eb756e6..30a5d8fa 100644
--- a/pysnmp/smi/rfc1902.py
+++ b/pysnmp/smi/rfc1902.py
@@ -506,7 +506,7 @@ class ObjectIdentity(object):
self.__oid += instIds
self.__indices = rowNode.getIndicesFromInstId(instIds)
except PyAsn1Error:
- raise SmiError('Instance index %r to OID convertion failure at object %r: %s' % (
+ raise SmiError('Instance index %r to OID conversion failure at object %r: %s' % (
self.__args[2:], mibNode.getLabel(), sys.exc_info()[1]))
elif self.__args[2:]: # any other kind of MIB node with indices
if self.__args[2:]: