Skip to content

Commit daf782d

Browse files
committed
options removing
Signed-off-by: Ethan Lee <[email protected]>
1 parent ff22028 commit daf782d

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

src/fosslight_android/android_binary_analysis.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -791,9 +791,7 @@ def create_and_copy_notice_zip(notice_files_list, zip_file_path):
791791

792792
def main():
793793
global android_log_lines, ANDROID_LOG_FILE_NAME, python_script_dir, num_cores, now, logger, final_bin_info
794-
find_empty_path = False
795-
notice_check_ok = False
796-
base_binary_txt = ""
794+
find_empty_path = False
797795
auto_fill_oss_name = True
798796
analyze_source = False
799797
path_to_exclude = []
@@ -830,11 +828,9 @@ def main():
830828
print_version(PKG_NAME)
831829
if args.source: # android source path
832830
os.chdir(args.source)
833-
android_src_path = args.source
834-
831+
android_src_path = args.source
835832
if args.more: # Analyze source mode.
836-
analyze_source = True
837-
833+
analyze_source = True
838834
if args.android:
839835
ANDROID_LOG_FILE_NAME = args.android
840836
if args.find: # Execute "find" command when source path is not found.
@@ -848,11 +844,9 @@ def main():
848844

849845
if args.packaging:
850846
check_packaging_files(args.packaging)
851-
return
852-
847+
return
853848
if args.remove: # Remove the inputted list from the binary list.
854849
remove_list_file = args.remove
855-
856850
read_success, android_log_lines = read_file(ANDROID_LOG_FILE_NAME)
857851
if not read_success:
858852
logger.error("(-a option) Fail to read a file:" + ANDROID_LOG_FILE_NAME)

0 commit comments

Comments
 (0)