mirror of
https://github.com/certbot/certbot.git
synced 2026-01-24 19:22:07 +03:00
lint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user