[Git][reproducible-builds/diffoscope][master] Fix an issue with detecting ordering differences. (Closes:...
    Chris Lamb (@lamby) 
    gitlab at salsa.debian.org
       
    Wed Oct 26 19:45:45 UTC 2022
    
    
  
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
727b3c9e by Chris Lamb at 2022-10-26T12:44:56-07:00
Fix an issue with detecting ordering differences. (Closes: reproducible-builds/diffoscope#316, Debian:#1022145)
- - - - -
1 changed file:
- diffoscope/difference.py
Changes:
=====================================
diffoscope/difference.py
=====================================
@@ -423,7 +423,7 @@ class Difference:
             return False
 
         if added_lines == removed_lines:
-            return False
+            return True
 
         return sorted(added_lines) == sorted(removed_lines)
 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/727b3c9ea54b89465d2308997aa8b4bd25bff07f
-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/727b3c9ea54b89465d2308997aa8b4bd25bff07f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20221026/ef64b117/attachment.htm>
    
    
More information about the rb-commits
mailing list