Skip to content

Commit 416bc23

Browse files
authored
Merge pull request #33 from fosslight/temp_jk
Fix to local variable assignment issue - extended header
2 parents 8efc456 + c11e1a5 commit 416bc23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fosslight_binary/binary_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
_root_path = ""
4141
_start_time = ""
4242
windows = False
43-
extended_header = {}
4443

4544
JAR_VUL_HEADER = {'BIN_FL_Binary': ['ID', 'Source Name or Path', 'OSS Name',
4645
'OSS Version', 'License', 'Download Location',
@@ -138,6 +137,7 @@ def find_binaries(path_to_find_bin, output_dir, format, dburl=""):
138137
db_loaded_cnt = 0
139138
success_to_write = False
140139
writing_msg = ""
140+
extended_header = {}
141141

142142
try:
143143
if not os.path.isdir(path_to_find_bin):

0 commit comments

Comments
 (0)