Skip to content

Commit

Permalink
Merge 4bcc96b into b558a92
Browse files Browse the repository at this point in the history
  • Loading branch information
Avantol13 committed Jun 25, 2019
2 parents b558a92 + 4bcc96b commit 1dcd533
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions bin/fence-create
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ def parse_arguments():
parser.add_argument(
"--path", default="/var/www/fence/", help="path to find configuration"
)
parser.add_argument(
"--verbose",
help="whether or not to log to stdout",
action="store_true",
default=False,
)
parser.add_argument(
"--arborist",
help="the base URL for the arborist service to sync to",
Expand Down Expand Up @@ -319,9 +313,6 @@ def main():
# get database information
sys.path.append(args.path)

if not args.verbose:
logging.disable(logging.DEBUG)

# replicate cfg loading done in flask app to maintain backwards compatibility
# TODO (DEPRECATE LOCAL_SETTINGS): REMOVE this when putting cfg in
# settings/local_settings is deprecated
Expand Down Expand Up @@ -353,6 +344,7 @@ def main():
STORAGE_CREDENTIALS = os.environ.get("STORAGE_CREDENTIALS") or config.get(
"STORAGE_CREDENTIALS"
)

arborist = None
if args.arborist:
arborist = ArboristClient(
Expand Down

0 comments on commit 1dcd533

Please sign in to comment.