mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 08:09:10 +02:00
Add docstring
This commit is contained in:
@@ -27,6 +27,7 @@ class Network(object):
|
||||
self.alg = alg
|
||||
|
||||
def _wrap_in_jws(self, data):
|
||||
"""Wrap `JSONDeSerializable` object in JWS."""
|
||||
dumps = data.json_dumps()
|
||||
logging.debug('Serialized JSON: %s', dumps)
|
||||
return jose.JWS.sign(
|
||||
|
||||
Reference in New Issue
Block a user