Skip to content

Commit 7f28de1

Browse files
committed
codespell: fix typo warnings
Signed-off-by: Heiko Thiery <[email protected]>
1 parent cd081f8 commit 7f28de1

File tree

13 files changed

+20
-20
lines changed

13 files changed

+20
-20
lines changed

docs/source/bmcWatchdog_cmd.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ For example:
4949
5050
ipmi.set_watchdog_timer(watchdog_timer)
5151
52-
where the ``watchdog_timer`` has the attributes shown bellow for the next command.
52+
where the ``watchdog_timer`` has the attributes shown below for the next command.
5353

5454
Get Watchdog Timer Command
5555
~~~~~~~~~~~~~~~~~~~~~~~~~~

docs/source/ipmDevGlobal_cmd.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ For example:
102102
Cold Reset Command
103103
~~~~~~~~~~~~~~~~~~
104104

105-
This command directs the **Target** to perform a 'Cold Reset' of itself. The device reinitalizes its event, communcation, and sensor funtioncs. Self Test, if implemented, will be also run.
105+
This command directs the **Target** to perform a 'Cold Reset' of itself. The device reinitalizes its event, communication, and sensor funtioncs. Self Test, if implemented, will be also run.
106106

107107
+------------------------------+
108108
| **cold_reset()** |

docs/source/ipmiMsgSupport_cmd.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ This is not equivalent with a single IPMI command, but represents a high level A
8484
| **establish()** |
8585
+------------------------------+
8686

87-
creates and activates a session of the ``ipmi.session`` instance with the given authentication and privilige level. Multiple IPMI commands are used to establish the session. The following steps are done during the session establishment for an RMCP interface:
87+
creates and activates a session of the ``ipmi.session`` instance with the given authentication and privilege level. Multiple IPMI commands are used to establish the session. The following steps are done during the session establishment for an RMCP interface:
8888

8989
- ping the **Target** IP address
9090
- issue a **"Get Channel Authentication Capabilities"** command
9191
- issue a **"Get Session Challenge"** command
9292
- issue an **"Activate Session"** command
93-
- issue a **"Set Session Privilege Level"** command (privilige is set always to ADMINISTRATOR level)
93+
- issue a **"Set Session Privilege Level"** command (privilege is set always to ADMINISTRATOR level)
9494

9595
If ``keep_alive_interval`` argument for the interface instantiation was set to a nonzero value then the channel is kept alive by regularly sending the **"Get Device ID"** IPMI command.
9696

@@ -109,7 +109,7 @@ This command is used to retrieve capability information about a particular chann
109109
| **get_channel_authentication_capabilities(channel, priv_lvl)** |
110110
+-----------------------------------------------------------------+
111111

112-
You should pass the channel number to ``channel``, and the requested maximum privilige level to ``priv_lvl``.
112+
You should pass the channel number to ``channel``, and the requested maximum privilege level to ``priv_lvl``.
113113

114114
Example:
115115

@@ -121,7 +121,7 @@ Example:
121121
Master Write-Read Command
122122
~~~~~~~~~~~~~~~~~~~~~~~~~
123123

124-
This command can be used for low level |I2C|/SMBus write, read, or write-read accesses to the IPMB or private busses behind a management controller. The command can also be used for providing low-level access to devices that provide an SMBus slave interface.
124+
This command can be used for low level |I2C|/SMBus write, read, or write-read accesses to the IPMB or private buses behind a management controller. The command can also be used for providing low-level access to devices that provide an SMBus slave interface.
125125

126126
+---------------------------------------------------------------------------+
127127
| **i2c_write_read(bus_type, bus_id, channel, address, count, data=None)** |

docs/source/quick_start.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Before establishing the session the interface type shall be defined. There are 4
2323
* **'aardvark'** - :abbr:`IPMB (Intelligent Platform Management Bus)` interface (using the `Total Phase`_ Aardvark)
2424
* **'mock'** - This interface uses the ipmitool raw command to "emulate" an :abbr:`RMCP (Remote Management Control Protocol)` session. It uses the session information to assemble the correct ipmitool parameters. Therefore, a session must be established before any request can be sent.
2525

26-
Then you create an instance of the ``pyipmi.Ipmi`` object using the ``interface`` instance just created, and set also the required parameteres of the interface type. You should also set the :abbr:`IPMI (Intelligent Platform Management Interface)` **Target**, otherwise different runtime errors shall be expected later on when invoking methods of this library. Finally, you can try to establish a session. If there is a connection problem (no response), then you get the following error during session establishment:
26+
Then you create an instance of the ``pyipmi.Ipmi`` object using the ``interface`` instance just created, and set also the required parameters of the interface type. You should also set the :abbr:`IPMI (Intelligent Platform Management Interface)` **Target**, otherwise different runtime errors shall be expected later on when invoking methods of this library. Finally, you can try to establish a session. If there is a connection problem (no response), then you get the following error during session establishment:
2727

2828
.. error::
2929

@@ -261,7 +261,7 @@ ipmitool command:
261261
IPMB with Aardvark
262262
******************
263263

264-
For :abbr:`IPMB (Intelligent Platform Management Bus)` interface with Aardvark tool you should use the followig code:
264+
For :abbr:`IPMB (Intelligent Platform Management Bus)` interface with Aardvark tool you should use the following code:
265265

266266
.. code:: python
267267
@@ -345,7 +345,7 @@ in which case debug, info and warning messages are all recorded in the **'ipmi_d
345345

346346
.. note::
347347

348-
It is assumed in all code examples that the instantiation of the ``pyipmi.Ipmi`` object is called **ipmi**, thus **ipmi** will preceed all the methods and attributes of the ``pyipmi.Ipmi`` object.
348+
It is assumed in all code examples that the instantiation of the ``pyipmi.Ipmi`` object is called **ipmi**, thus **ipmi** will proceed all the methods and attributes of the ``pyipmi.Ipmi`` object.
349349

350350
.. _Total Phase: http://www.totalphase.com
351351
.. _ipmitool: http://sourceforge.net/projects/ipmitool/

pyipmi/bmc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class Watchdog(State):
8989
TIMEOUT_ACTION_POWER_CYCLE = 3
9090

9191
__properties__ = [
92-
# (propery, description)
92+
# (property, description)
9393
('timer_use', ''),
9494
('dont_stop', ''),
9595
('is_running', ''),

pyipmi/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class DescriptionError(Exception):
6969

7070

7171
class RetryError(Exception):
72-
"""Maxium number of retries exceeded."""
72+
"""Maximum number of retries exceeded."""
7373
pass
7474

7575

pyipmi/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def _unpack6bitascii(data):
6464

6565
class TypeLengthString(object):
6666
"""
67-
This is the TYPE/LENGTH BYTE FORMAT field represenation according the
67+
This is the TYPE/LENGTH BYTE FORMAT field representation according the
6868
Platform Management FRU Information Storage Definition v1.0.
6969
7070
In addition the difference to the 'FRU Information Storage Definition' to

pyipmi/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def get_sdr_data_helper(reserve_fn, get_fn, record_id, reservation_id=None):
8585
(next_id, data) = get_fn(reservation_id, record_id, offset, length)
8686
except CompletionCodeError as e:
8787
if e.cc == constants.CC_CANT_RET_NUM_REQ_BYTES:
88-
# reduce max lenght
88+
# reduce max length
8989
max_req_len -= 4
9090
if max_req_len <= 0:
9191
retry = 0

pyipmi/hpm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def preparation_stage(self, image):
314314
# tbd check version
315315

316316
####################################################
317-
# compare current revision with upgrade image earlist comp rev
317+
# compare current revision with upgrade image earliest comp rev
318318
targetCap = self.get_target_upgrade_capabilities()
319319
# tbd check version
320320

pyipmi/interfaces/ipmb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def encode_ipmb_msg(header, data):
149149

150150

151151
def encode_send_message(payload, rq_sa, rs_sa, channel, seq, tracking=1):
152-
"""Encode a send message command and embedd the message to be send.
152+
"""Encode a send message command and embed the message to be send.
153153
154154
payload: the message to be send as bytestring
155155
rq_sa: the requester source address
@@ -178,7 +178,7 @@ def encode_send_message(payload, rq_sa, rs_sa, channel, seq, tracking=1):
178178

179179

180180
def encode_bridged_message(routing, header, payload, seq):
181-
"""Encode a (multi-)bridged command and embedd the message to be send.
181+
"""Encode a (multi-)bridged command and embed the message to be send.
182182
183183
routing:
184184
payload: the message to be send as bytestring

0 commit comments

Comments
 (0)