File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 85
85
# Generate metadata
86
86
logging .debug ("cwd : {}" .format (os .getcwd ()))
87
87
logging .debug (os .listdir ())
88
-
88
+
89
89
deb_file_handle = DebFile (filename = deb_file_path )
90
90
deb_file_control = deb_file_handle .debcontrol ()
91
91
108
108
all_apt_action_commit ,
109
109
)
110
110
)
111
- apt_action_metadata = list (map (lambda x : json .loads (x [0 ]), apt_action_metadata_str ))
111
+ apt_action_valid_metadata_str = list (filter (lambda x : len (x ) > 0 , apt_action_metadata_str ))
112
+ apt_action_metadata = list (map (lambda x : json .loads (x [0 ]), apt_action_valid_metadata_str ))
112
113
113
114
logging .debug (all_apt_action_commit )
114
- logging .debug (apt_action_metadata_str )
115
+ logging .debug (apt_action_valid_metadata_str )
115
116
116
117
for check_metadata in apt_action_metadata :
117
118
if (check_metadata == current_metadata ):
You can’t perform that action at this time.
0 commit comments