src/catedit/utils.py
changeset 86 1c84b37adaf4
parent 62 746d486f7c42
child 95 0a131f9b92a5
equal deleted inserted replaced
85:bbe4e172afb3 86:1c84b37adaf4
    98         compare_result["only_in_second"] = in_second
    98         compare_result["only_in_second"] = in_second
    99         compare_result["in_both"] = in_both
    99         compare_result["in_both"] = in_both
   100     return compare_result
   100     return compare_result
   101 
   101 
   102 
   102 
   103 
       
   104 def make_differences_list(first_category_list, second_category_list, repository):
   103 def make_differences_list(first_category_list, second_category_list, repository):
   105     """
   104     """
   106         Compares 2 category lists and generates a dict that lists addition,
   105         Compares 2 category lists and generates a dict that lists addition,
   107         modification and deletions from first_category_list to
   106         modification and deletions from first_category_list to
   108         second_category_list
   107         second_category_list