Skip to content

Commit

Permalink
perf: Remove ast from the import tree
Browse files Browse the repository at this point in the history
  • Loading branch information
adityahase committed Feb 21, 2021
1 parent 2a4377a commit 104efd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bench/commands/config.py
@@ -1,5 +1,4 @@
# imports - standard imports
import ast

# imports - module imports
from bench.config.common_site_config import update_config, get_config, put_config
Expand Down Expand Up @@ -52,6 +51,8 @@ def config_http_timeout(seconds):
@click.command('set-common-config', help='Set value in common config')
@click.option('configs', '-c', '--config', multiple=True, type=(str, str))
def set_common_config(configs):
import ast

common_site_config = {}
for key, value in configs:
if value in ('true', 'false'):
Expand Down

0 comments on commit 104efd3

Please sign in to comment.