mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
lint
This commit is contained in:
parent
7daf773c73
commit
548ba6b655
2 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ import os
|
|||
|
||||
import zope.component
|
||||
|
||||
from letsencrypt import errors
|
||||
from letsencrypt import interfaces
|
||||
|
||||
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')
|
||||
try:
|
||||
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"
|
||||
" and --email <email_address> flags")
|
||||
raise errors.MissingCommandlineFlag, msg
|
||||
|
|
|
|||
Loading…
Reference in a new issue