Skip to content

Commit a1a5108

Browse files
authored
Merge pull request #97 from kwadrat/master
Fix misspellings in comments
2 parents 11d0335 + 909e7ab commit a1a5108

File tree

14 files changed

+18
-18
lines changed

14 files changed

+18
-18
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Enable network burst in SBG1
236236
----------------------------
237237

238238
'Network burst' is a free service but is opt-in. What if you have, say, 10
239-
servers in ``SBG-1`` datacenter? You certainely don't want to activate it
239+
servers in ``SBG-1`` datacenter? You certainly don't want to activate it
240240
manually for each servers. You could take advantage of a code like this.
241241

242242
This example assumes an existing Configuration_ with valid ``application_key``,

docs/api/ovh/client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ request_consumerkey
2424

2525
Helpers to generate a consumer key. See ``new_consumer_key_request``
2626
below for a full working example or :py:class:`ConsumerKeyRequest`
27-
for dertailed implementatation.
27+
for detailed implementation.
2828

2929
The basic idea of ``ConsumerKeyRequest`` is to generate appropriate
3030
authorization requests from human readable function calls. In short:

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Depending on the API you want to use, you may set the ``endpoint`` to:
9797
* ``ovh-eu`` for OVH Europe API
9898
* ``ovh-ca`` for OVH North-America API
9999

100-
See Configuration_ for more inforamtions on available configuration mechanisms.
100+
See Configuration_ for more informations on available configuration mechanisms.
101101

102102
.. note:: When using a versioning system, make sure to add ``ovh.conf`` to ignored
103103
files. It contains confidential/security-sensitive information!
@@ -220,7 +220,7 @@ Enable network burst in SBG1
220220
----------------------------
221221

222222
'Network burst' is a free service but is opt-in. What if you have, say, 10
223-
servers in ``SBG-1`` datacenter? You certainely don't want to activate it
223+
servers in ``SBG-1`` datacenter? You certainly don't want to activate it
224224
manually for each servers. You could take advantage of a code like this.
225225

226226
This example assumes an existing Configuration_ with valid ``application_key``,

examples/serviceExpiration/serviceThatWillExpired.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,5 @@
7070
if service_expiration_date < delay_date:
7171
services_will_expired.append( [ service_type, service, service_infos['status'], service_infos['expiration'] ] )
7272

73-
# At the end, we show service expirated or that will expirated (in a table with tabulate)
73+
# At the end, we show service expired or that will expire (in a table with tabulate)
7474
print(tabulate(services_will_expired, headers=['Type', 'ID', 'status', 'expiration date']))

examples/serviceList/serviceList.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@
6262
service_expiration_date = datetime.datetime.strptime(service_infos['expiration'], '%Y-%m-%d')
6363
services_will_expired.append( [ service_type, service, service_infos['status'], service_infos['expiration'] ] )
6464

65-
# At the end, we show service expirated or that will expirated (in a table with tabulate)
65+
# At the end, we show service expired or that will expire (in a table with tabulate)
6666
print(tabulate(services_will_expired, headers=['Type', 'ID', 'status', 'expiration date']))

ovh/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ def raw_call(self, method, path, data=None, need_auth=True):
491491
headers['Content-type'] = 'application/json'
492492
body = json.dumps(data)
493493

494-
# sign request. Never sign 'time' or will recuse infinitely
494+
# sign request. Never sign 'time' or will recurse infinitely
495495
if need_auth:
496496
if not self._application_secret:
497497
raise InvalidKey("Invalid ApplicationSecret '%s'" %

ovh/vendor/requests/packages/chardet/big5freq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
# 2048 --> 0.97583
3737
#
3838
# Ideal Distribution Ratio = 0.74851/(1-0.74851) =2.98
39-
# Random Distribution Ration = 512/(5401-512)=0.105
39+
# Random Distribution Ratio = 512/(5401-512)=0.105
4040
#
4141
# Typical Distribution Ratio about 25% of Ideal one, still much higher than RDR
4242

ovh/vendor/requests/packages/chardet/euckrfreq.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
# 1024 --> 0.99944
3434
# 2048 --> 0.99999
3535
#
36-
# Idea Distribution Ratio = 0.98653 / (1-0.98653) = 73.24
37-
# Random Distribution Ration = 512 / (2350-512) = 0.279.
36+
# Ideal Distribution Ratio = 0.98653 / (1-0.98653) = 73.24
37+
# Random Distribution Ratio = 512 / (2350-512) = 0.279.
3838
#
3939
# Typical Distribution Ratio
4040

ovh/vendor/requests/packages/chardet/euctwfreq.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
# 1024 --> 0.89384
3737
# 2048 --> 0.97583
3838
#
39-
# Idea Distribution Ratio = 0.74851/(1-0.74851) =2.98
40-
# Random Distribution Ration = 512/(5401-512)=0.105
39+
# Ideal Distribution Ratio = 0.74851/(1-0.74851) =2.98
40+
# Random Distribution Ratio = 512/(5401-512)=0.105
4141
#
4242
# Typical Distribution Ratio about 25% of Ideal one, still much higher than RDR
4343

ovh/vendor/requests/packages/chardet/gb2312freq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# 6768 --> 1.00 -- 0.02
3636
#
3737
# Ideal Distribution Ratio = 0.79135/(1-0.79135) = 3.79
38-
# Random Distribution Ration = 512 / (3755 - 512) = 0.157
38+
# Random Distribution Ratio = 512 / (3755 - 512) = 0.157
3939
#
4040
# Typical Distribution Ratio about 25% of Ideal one, still much higher that RDR
4141

0 commit comments

Comments
 (0)