We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b7623c commit 11678fbCopy full SHA for 11678fb
src/fosslight_source/convert_scancode.py
@@ -107,8 +107,8 @@ def main():
107
path_to_find_bin = arg
108
elif opt == "-o":
109
output_file_name = arg
110
- except Exception as error:
111
- print("Wrong option " + str(error))
+ except Exception:
+ print_help_msg_convert()
112
113
if output_file_name == "":
114
output_dir = os.getcwd()
@@ -117,7 +117,7 @@ def main():
117
oss_report_name = output_file_name
118
output_dir = os.path.dirname(os.path.abspath(output_file_name))
119
120
- logger = init_log(os.path.join(output_dir, "fosslight_src_log_"+start_time+".txt"))
+ logger = init_log(os.path.join(output_dir, "fosslight_src_log_" + start_time + ".txt"))
121
122
convert_json_to_excel(path_to_find_bin, oss_report_name)
123
0 commit comments