mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-30 17:56:58 +00:00
flake8
This commit is contained in:
parent
3a552f68ca
commit
cb6ed4c47f
@ -1,6 +1,5 @@
|
||||
from __future__ import print_function
|
||||
|
||||
import sys
|
||||
import json
|
||||
|
||||
from twisted.python import usage
|
||||
@ -13,7 +12,6 @@ from allmydata.grid_manager import (
|
||||
from allmydata.scripts.cli import _default_nodedir
|
||||
from allmydata.scripts.common import BaseOptions
|
||||
from allmydata.util.encodingutil import argv_to_abspath
|
||||
from allmydata.util import fileutil
|
||||
|
||||
|
||||
|
||||
@ -123,7 +121,6 @@ def add_grid_manager_cert(options):
|
||||
nd = _default_nodedir
|
||||
|
||||
config = read_config(nd, "portnum")
|
||||
config_path = join(nd, "tahoe.cfg")
|
||||
cert_fname = "{}.cert".format(options['name'])
|
||||
cert_path = FilePath(config.get_config_path(cert_fname))
|
||||
cert_bytes = json.dumps(options.certificate_data, indent=4) + '\n'
|
||||
|
@ -6,7 +6,6 @@ from twisted.python.filepath import (
|
||||
)
|
||||
|
||||
from allmydata.client import (
|
||||
create_storage_farm_broker,
|
||||
_load_grid_manager_certificates,
|
||||
)
|
||||
from allmydata.node import (
|
||||
|
Loading…
Reference in New Issue
Block a user