mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
Removing stray debug statements, fixes #1308
This commit is contained in:
@@ -549,7 +549,6 @@ def plugins_cmd(args, config, plugins): # TODO: Use IDisplay rather than print
|
|||||||
logger.debug("Filtered plugins: %r", filtered)
|
logger.debug("Filtered plugins: %r", filtered)
|
||||||
|
|
||||||
if not args.init and not args.prepare:
|
if not args.init and not args.prepare:
|
||||||
print str(filtered)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
filtered.init(config)
|
filtered.init(config)
|
||||||
@@ -557,13 +556,11 @@ def plugins_cmd(args, config, plugins): # TODO: Use IDisplay rather than print
|
|||||||
logger.debug("Verified plugins: %r", verified)
|
logger.debug("Verified plugins: %r", verified)
|
||||||
|
|
||||||
if not args.prepare:
|
if not args.prepare:
|
||||||
print str(verified)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
verified.prepare()
|
verified.prepare()
|
||||||
available = verified.available()
|
available = verified.available()
|
||||||
logger.debug("Prepared plugins: %s", available)
|
logger.debug("Prepared plugins: %s", available)
|
||||||
print str(available)
|
|
||||||
|
|
||||||
|
|
||||||
def read_file(filename, mode="rb"):
|
def read_file(filename, mode="rb"):
|
||||||
@@ -935,7 +932,6 @@ def _paths_parser(helpful):
|
|||||||
section = "paths"
|
section = "paths"
|
||||||
if verb in ("install", "revoke"):
|
if verb in ("install", "revoke"):
|
||||||
section = verb
|
section = verb
|
||||||
print helpful.help_arg, helpful.help_arg == "install"
|
|
||||||
# revoke --key-path reads a file, install --key-path takes a string
|
# revoke --key-path reads a file, install --key-path takes a string
|
||||||
add(section, "--key-path", type=((verb == "revoke" and read_file) or str),
|
add(section, "--key-path", type=((verb == "revoke" and read_file) or str),
|
||||||
required=(verb == "install"),
|
required=(verb == "install"),
|
||||||
|
|||||||
Reference in New Issue
Block a user