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.
2 parents 702eaff + 1ea22c1 commit cf5065cCopy full SHA for cf5065c
tools/export/nb/__init__.py
@@ -325,9 +325,11 @@ def get_netbeans_file_list(file_list):
325
if cur_dir and prev_dir != cur_dir:
326
# evaluate all matched items (from current and previous list)
327
matched = []
328
- for element in dir_list:
329
- if element in prev_dir_list:
330
- matched.append(element)
+ # Compare the Element in Previous Dir with the Elements in Current Dir
+ # and add the equal Elements to the match-List
+ for elem_prev_dir, elem_cur_dir in zip(prev_dir_list, dir_list):
331
+ if elem_prev_dir == elem_cur_dir:
332
+ matched.append(elem_cur_dir)
333
334
# calculate difference between matched and length
335
diff = dir_depth - len(matched)
0 commit comments