mirror of
https://github.com/certbot/certbot.git
synced 2026-08-04 08:03:44 +02:00
Fix minor spelling errors in the code.
This commit is contained in:
+1
-1
@@ -546,7 +546,7 @@ class ClientNetwork(object):
|
|||||||
"""Send HEAD request without checking the response.
|
"""Send HEAD request without checking the response.
|
||||||
|
|
||||||
Note, that `_check_response` is not called, as it is expected
|
Note, that `_check_response` is not called, as it is expected
|
||||||
that status code other than successfuly 2xx will be returned, or
|
that status code other than successfully 2xx will be returned, or
|
||||||
messages2.Error will be raised by the server.
|
messages2.Error will be raised by the server.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ class JSONDeSerializable(object):
|
|||||||
be encoded into a JSON document. **Full serialization** produces
|
be encoded into a JSON document. **Full serialization** produces
|
||||||
a Python object composed of only basic types as required by the
|
a Python object composed of only basic types as required by the
|
||||||
:ref:`conversion table <conversion-table>`. **Partial
|
:ref:`conversion table <conversion-table>`. **Partial
|
||||||
serialization** (acomplished by :meth:`to_partial_json`)
|
serialization** (accomplished by :meth:`to_partial_json`)
|
||||||
produces a Python object that might also be built from other
|
produces a Python object that might also be built from other
|
||||||
:class:`JSONDeSerializable` objects.
|
:class:`JSONDeSerializable` objects.
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ class Header(json_util.JSONObjectWithFields):
|
|||||||
.. warning:: This class does not support any extensions through
|
.. warning:: This class does not support any extensions through
|
||||||
the "crit" (Critical) Header Parameter (4.1.11) and as a
|
the "crit" (Critical) Header Parameter (4.1.11) and as a
|
||||||
conforming implementation, :meth:`from_json` treats its
|
conforming implementation, :meth:`from_json` treats its
|
||||||
occurence as an error. Please subclass if you seek for
|
occurrence as an error. Please subclass if you seek for
|
||||||
a different behaviour.
|
a different behaviour.
|
||||||
|
|
||||||
:ivar x5tS256: "x5t#S256"
|
:ivar x5tS256: "x5t#S256"
|
||||||
|
|||||||
@@ -107,8 +107,8 @@ class ComparableRSAKey(ComparableKey): # pylint: disable=too-few-public-methods
|
|||||||
"""Wrapper for `cryptography` RSA keys.
|
"""Wrapper for `cryptography` RSA keys.
|
||||||
|
|
||||||
Wraps around:
|
Wraps around:
|
||||||
- `cryptography.hazmat.primitives.assymetric.RSAPrivateKey`
|
- `cryptography.hazmat.primitives.asymmetric.RSAPrivateKey`
|
||||||
- `cryptography.hazmat.primitives.assymetric.RSAPublicKey`
|
- `cryptography.hazmat.primitives.asymmetric.RSAPublicKey`
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -36,7 +36,7 @@ class Signature(jose.JSONObjectWithFields):
|
|||||||
:param bytes msg: Message to be signed.
|
:param bytes msg: Message to be signed.
|
||||||
|
|
||||||
:param key: Key used for signing.
|
:param key: Key used for signing.
|
||||||
:type key: `cryptography.hazmat.primitives.assymetric.rsa.RSAPrivateKey`
|
:type key: `cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey`
|
||||||
(optionally wrapped in `.ComparableRSAKey`).
|
(optionally wrapped in `.ComparableRSAKey`).
|
||||||
|
|
||||||
:param bytes nonce: Nonce to be used. If None, nonce of
|
:param bytes nonce: Nonce to be used. If None, nonce of
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Symlinked in letsencrypt/tests/test_util.py, casues duplicate-code
|
# Symlinked in letsencrypt/tests/test_util.py, causes duplicate-code
|
||||||
# warning that cannot be disabled locally.
|
# warning that cannot be disabled locally.
|
||||||
"""Test utilities.
|
"""Test utilities.
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ class IPluginProxy(zope.interface.Interface):
|
|||||||
def cleanup_from_tests():
|
def cleanup_from_tests():
|
||||||
"""Performs any necessary cleanup from running plugin tests.
|
"""Performs any necessary cleanup from running plugin tests.
|
||||||
|
|
||||||
This is guarenteed to be called before the program exits.
|
This is guaranteed to be called before the program exits.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ class Account(object): # pylint: disable=too-few-public-methods
|
|||||||
# Implementation note: Email? Multiple accounts can have the
|
# Implementation note: Email? Multiple accounts can have the
|
||||||
# same email address. Registration URI? Assigned by the
|
# same email address. Registration URI? Assigned by the
|
||||||
# server, not guaranteed to be stable over time, nor
|
# server, not guaranteed to be stable over time, nor
|
||||||
# cannonical URI can be generated. ACME protocol doesn't allow
|
# canonical URI can be generated. ACME protocol doesn't allow
|
||||||
# account key (and thus its fingerprint) to be updated...
|
# account key (and thus its fingerprint) to be updated...
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|||||||
+1
-1
@@ -623,7 +623,7 @@ def _plugins_parsing(helpful, plugins):
|
|||||||
"plugins", description="Let's Encrypt client supports an "
|
"plugins", description="Let's Encrypt client supports an "
|
||||||
"extensible plugins architecture. See '%(prog)s plugins' for a "
|
"extensible plugins architecture. See '%(prog)s plugins' for a "
|
||||||
"list of all available plugins and their names. You can force "
|
"list of all available plugins and their names. You can force "
|
||||||
"a particular plugin by setting options provided below. Futher "
|
"a particular plugin by setting options provided below. Further "
|
||||||
"down this help message you will find plugin-specific options "
|
"down this help message you will find plugin-specific options "
|
||||||
"(prefixed by --{plugin_name}).")
|
"(prefixed by --{plugin_name}).")
|
||||||
helpful.add(
|
helpful.add(
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ util = zope.component.getUtility # pylint: disable=invalid-name
|
|||||||
|
|
||||||
|
|
||||||
def choose_plugin(prepared, question):
|
def choose_plugin(prepared, question):
|
||||||
"""Allow the user to choose ther plugin.
|
"""Allow the user to choose their plugin.
|
||||||
|
|
||||||
:param list prepared: List of `~.PluginEntryPoint`.
|
:param list prepared: List of `~.PluginEntryPoint`.
|
||||||
:param str question: Question to be presented to the user.
|
:param str question: Question to be presented to the user.
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ class IAuthenticator(IPlugin):
|
|||||||
|
|
||||||
:param str domain: Domain for which challenge preferences are sought.
|
:param str domain: Domain for which challenge preferences are sought.
|
||||||
|
|
||||||
:returns: List of challege types (subclasses of
|
:returns: List of challenge types (subclasses of
|
||||||
:class:`acme.challenges.Challenge`) with the most
|
:class:`acme.challenges.Challenge`) with the most
|
||||||
preferred challenges first. If a type is not specified, it means the
|
preferred challenges first. If a type is not specified, it means the
|
||||||
Authenticator cannot perform the challenge.
|
Authenticator cannot perform the challenge.
|
||||||
|
|||||||
@@ -626,7 +626,7 @@ class RenewableCert(object): # pylint: disable=too-many-instance-attributes
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
# XXX: assumes official archive location rather than examining links
|
# XXX: assumes official archive location rather than examining links
|
||||||
# XXX: consider using os.open for availablity of os.O_EXCL
|
# XXX: consider using os.open for availability of os.O_EXCL
|
||||||
# XXX: ensure file permissions are correct; also create directories
|
# XXX: ensure file permissions are correct; also create directories
|
||||||
# if needed (ensuring their permissions are correct)
|
# if needed (ensuring their permissions are correct)
|
||||||
# Figure out what the new version is and hence where to save things
|
# Figure out what the new version is and hence where to save things
|
||||||
|
|||||||
Reference in New Issue
Block a user