mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 16:12:09 +02:00
lint
This commit is contained in:
@@ -4,6 +4,7 @@ import os
|
|||||||
|
|
||||||
import zope.component
|
import zope.component
|
||||||
|
|
||||||
|
from letsencrypt import errors
|
||||||
from letsencrypt import interfaces
|
from letsencrypt import interfaces
|
||||||
|
|
||||||
import letsencrypt.display.util as display_util
|
import letsencrypt.display.util as display_util
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ def get_email(more=False, invalid=False):
|
|||||||
'account key from /etc/letsencrypt/accounts\n\n')
|
'account key from /etc/letsencrypt/accounts\n\n')
|
||||||
try:
|
try:
|
||||||
code, email = zope.component.getUtility(interfaces.IDisplay).input(msg)
|
code, email = zope.component.getUtility(interfaces.IDisplay).input(msg)
|
||||||
except errors.MissingCommandlineFlag, e:
|
except errors.MissingCommandlineFlag:
|
||||||
msg = ("You should register before running non-interactively, or provide --agree-tos"
|
msg = ("You should register before running non-interactively, or provide --agree-tos"
|
||||||
" and --email <email_address> flags")
|
" and --email <email_address> flags")
|
||||||
raise errors.MissingCommandlineFlag, msg
|
raise errors.MissingCommandlineFlag, msg
|
||||||
|
|||||||
Reference in New Issue
Block a user