(a, b)
| 566 | # - input lists won't be changed |
| 567 | # ================================================= |
| 568 | def lists_diff_count(a, b): |
| 569 | c = list(b) |
| 570 | d = [] |
| 571 | for item in a: |
| 572 | try: |
| 573 | c.remove(item) |
| 574 | except: |
| 575 | d.append(item) |
| 576 | |
| 577 | if len(d) > 0: |
| 578 | print "#### Mismatch MessageID" |
| 579 | print d |
| 580 | |
| 581 | return len(c) + len(d) |
| 582 | |
| 583 | # ================================================= |
| 584 | # subtract_list |