Minor formatting changes suggested by @r-marques

This commit is contained in:
troymc 2016-04-18 16:08:25 +02:00
parent 0870985049
commit 4bfad0bbbc
2 changed files with 2 additions and 7 deletions

View File

@ -13,10 +13,7 @@ import json
import bigchaindb
import bigchaindb.config_utils
from bigchaindb import db
from bigchaindb.exceptions import (
DatabaseAlreadyExists,
KeypairNotFoundException
)
from bigchaindb.exceptions import DatabaseAlreadyExists, KeypairNotFoundException
from bigchaindb.commands.utils import base_parser, start
from bigchaindb.processes import Processes
from bigchaindb import crypto
@ -43,8 +40,7 @@ def run_configure(args, skip_if_exists=False):
"""Run a script to configure the current node.
Args:
skip_if_exists (bool): skip the function if a config file already
exists
skip_if_exists (bool): skip the function if a config file already exists
"""
config_path = args.config or bigchaindb.config_utils.CONFIG_DEFAULT_PATH
config_file_exists = os.path.exists(config_path)

View File

@ -22,7 +22,6 @@ from pkg_resources import iter_entry_points, ResolutionError
import bigchaindb
from bigchaindb.consensus import AbstractConsensusRules
# logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger(__name__)
CONFIG_DEFAULT_PATH = os.environ.setdefault(