You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.errors.append("Deltacode Error: Number of visited files({}) does not match total_files({}) in the new scan".format(new_files_visited, self.new.files_count))
137
-
ifold_files_visited!=self.old.files_count:
138
-
self.errors.append("Deltacode Error: Number of visited files({}) does not match total_files({}) in the old scan".format(old_files_visited, self.old.files_count))
135
+
ifnew_visited!=self.new.files_count:
136
+
self.errors.append(
137
+
'DeltaCode Warning: new_visited({}) != new_total({}). Assuming old scancode format.'.format(new_visited, self.new.files_count)
138
+
)
139
+
140
+
ifold_visited!=self.old.files_count:
141
+
self.errors.append(
142
+
'DeltaCode Warning: old_visited({}) != old_total({}). Assuming old scancode format.'.format(old_visited, self.old.files_count)
# make sure we have same number of File objects as in the scan.
132
-
iflen(files) !=self.files_count:
133
-
self.errors.append('Scan Error: The number of files calculated with \'len(files)\' does not equal the ScanCode \'files_count\' value for the scan with path = '+path+'.')
0 commit comments