Rename badly named python function, fix empty ns
This commit is contained in:
@@ -21,8 +21,4 @@ class BasicUI : public content::WebUIController {
|
||||
DISALLOW_COPY_AND_ASSIGN(BasicUI);
|
||||
};
|
||||
|
||||
namespace basic_ui {
|
||||
|
||||
} // namespace basic_ui
|
||||
|
||||
#endif // BRAVE_BROWSER_UI_WEBUI_BASIC_UI_H_
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
import argparse
|
||||
import os
|
||||
import sys
|
||||
@@ -10,7 +9,7 @@ if sys.platform in ['win32', 'cygwin']:
|
||||
|
||||
def main():
|
||||
args = parse_args()
|
||||
update_node_modules('.', args.production, args.target_gen_dir[0])
|
||||
transpile_web_uis('.', args.production, args.target_gen_dir[0])
|
||||
|
||||
|
||||
def parse_args():
|
||||
@@ -23,7 +22,7 @@ def parse_args():
|
||||
return parser.parse_args()
|
||||
|
||||
|
||||
def update_node_modules(dirname, production, target_gen_dir, env=None):
|
||||
def transpile_web_uis(dirname, production, target_gen_dir, env=None):
|
||||
if env is None:
|
||||
env = os.environ.copy()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user