mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-22 04:18:23 +00:00
whitespace
This commit is contained in:
parent
633f36a33c
commit
08937c6acf
@ -52,6 +52,7 @@ def add_grid_manager_cert(options):
|
|||||||
"""
|
"""
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
class AdminCommand(BaseOptions):
|
class AdminCommand(BaseOptions):
|
||||||
subCommands = [
|
subCommands = [
|
||||||
("generate-keypair", None, GenerateKeypairOptions,
|
("generate-keypair", None, GenerateKeypairOptions,
|
||||||
@ -72,12 +73,14 @@ each subcommand.
|
|||||||
"""
|
"""
|
||||||
return t
|
return t
|
||||||
|
|
||||||
|
|
||||||
subDispatch = {
|
subDispatch = {
|
||||||
"generate-keypair": print_keypair,
|
"generate-keypair": print_keypair,
|
||||||
"derive-pubkey": derive_pubkey,
|
"derive-pubkey": derive_pubkey,
|
||||||
"add-grid-manager-cert": add_grid_manager_cert,
|
"add-grid-manager-cert": add_grid_manager_cert,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def do_admin(options):
|
def do_admin(options):
|
||||||
so = options.subOptions
|
so = options.subOptions
|
||||||
so.stdout = options.stdout
|
so.stdout = options.stdout
|
||||||
@ -88,8 +91,8 @@ def do_admin(options):
|
|||||||
|
|
||||||
subCommands = [
|
subCommands = [
|
||||||
["admin", None, AdminCommand, "admin subcommands: use 'tahoe admin' for a list"],
|
["admin", None, AdminCommand, "admin subcommands: use 'tahoe admin' for a list"],
|
||||||
]
|
]
|
||||||
|
|
||||||
dispatch = {
|
dispatch = {
|
||||||
"admin": do_admin,
|
"admin": do_admin,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user