Lintmonster

This commit is contained in:
Peter Eckersley
2015-11-20 19:02:50 -08:00
parent ec267cf215
commit 1a4d7c1445
2 changed files with 6 additions and 2 deletions
+2
View File
@@ -130,6 +130,7 @@ def register(config, account_storage, tos_cb=None):
return acc, acme
def perform_registration(acme, config):
"""
Actually register new account, trying repeatedly if there are email
@@ -153,6 +154,7 @@ def perform_registration(acme, config):
else:
raise
class Client(object):
"""ACME protocol client.
+2
View File
@@ -104,6 +104,7 @@ class NcursesDisplay(object):
return code, int(tag) - 1
def input(self, message):
"""Display an input box to the user.
@@ -120,6 +121,7 @@ class NcursesDisplay(object):
height = 6 + sum(wordlines) + len(sections)
return self.dialog.inputbox(message, width=self.width, height=height)
def yesno(self, message, yes_label="Yes", no_label="No"):
"""Display a Yes/No dialog box.