From 58087c00a6230ac8e2ed75e89ebdf4bfbf4a2642 Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Wed, 28 Apr 2021 16:22:17 -0400 Subject: [PATCH] Fix CI related issues Fix html lang attribute error from CI Fix unrelated Python errors for changes to the same file --- components/brave_wallet_ui/wallet_panel.html | 2 +- script/transpile-web-ui.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/brave_wallet_ui/wallet_panel.html b/components/brave_wallet_ui/wallet_panel.html index d3a7daa2ae6..81f192f1f6e 100644 --- a/components/brave_wallet_ui/wallet_panel.html +++ b/components/brave_wallet_ui/wallet_panel.html @@ -1,5 +1,5 @@ - + Wallet Panel diff --git a/script/transpile-web-ui.py b/script/transpile-web-ui.py index 96e65fbc19f..531dc9940ea 100755 --- a/script/transpile-web-ui.py +++ b/script/transpile-web-ui.py @@ -19,7 +19,6 @@ def main(): output_path_absolute = os.path.abspath(args.output_path[0]) root_gen_dir = args.root_gen_dir[0] grd_path = os.path.join(args.output_path[0], args.grd_name[0]) - grd_path_absolute = os.path.abspath(grd_path) clean_target_dir(output_path_absolute) @@ -62,7 +61,7 @@ def parse_args(): return args -def clean_target_dir(target_dir, env=None): +def clean_target_dir(target_dir): try: if os.path.exists(target_dir): shutil.rmtree(target_dir) @@ -71,7 +70,8 @@ def clean_target_dir(target_dir, env=None): def transpile_web_uis(production, target_gen_dir, root_gen_dir, - entry_points, depfile_path, depfile_sourcename, public_asset_path=None, env=None): + entry_points, depfile_path, depfile_sourcename, + public_asset_path=None, env=None): if env is None: env = os.environ.copy()