Skip to content

Commit 2ddabba

Browse files
authored
Merge pull request #67 from fosslight/develop
Remove unnecessary code - print type
2 parents b5c4933 + 4443388 commit 2ddabba

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/fosslight_binary/binary_analysis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def init(path_to_find_bin, output_file_name, format):
4949

5050
_json_ext = ".json"
5151
_yaml_ext = ".yaml"
52-
_start_time = datetime.now().strftime('%Y%m%d_%H%M%S')
52+
_start_time = datetime.now().strftime('%y%m%d_%H%M')
5353
_result_log = {
5454
"Tool Info": _PKG_NAME
5555
}
@@ -74,7 +74,7 @@ def init(path_to_find_bin, output_file_name, format):
7474
elif output_extension == _yaml_ext:
7575
result_report = f"fosslight-sbom-info_{_start_time}"
7676
else:
77-
result_report = f"FOSSLight-Report_{_start_time}"
77+
result_report = f"fosslight_bin_{_start_time}"
7878
bin_txt_file = f"binary_{_start_time}.txt"
7979

8080
result_report = os.path.join(output_path, result_report)

src/fosslight_binary/cli.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def main():
4242
sys.exit(0)
4343

4444
if args.path: # -p option
45-
print(type(args.path))
4645
path_to_find_bin = args.path
4746
if not path_to_find_bin:
4847
path_to_find_bin = os.getcwd()
@@ -60,8 +59,6 @@ def main():
6059
timer.setDaemon(True)
6160
timer.start()
6261

63-
print(type(path_to_find_bin))
64-
6562
find_binaries(path_to_find_bin, output_dir, format, db_url)
6663

6764

0 commit comments

Comments
 (0)