[Git][reproducible-builds/diffoscope][master] Drop assertion that is guaranteed by parallel "if" conditional.

Chris Lamb gitlab at salsa.debian.org
Mon Jan 20 15:59:34 UTC 2020



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
722d735f by Chris Lamb at 2020-01-20T15:36:21+00:00
Drop assertion that is guaranteed by parallel "if" conditional.

- - - - -


1 changed file:

- diffoscope/comparators/utils/compare.py


Changes:

=====================================
diffoscope/comparators/utils/compare.py
=====================================
@@ -107,7 +107,6 @@ def compare_files(file1, file2, source=None, diff_content_only=False):
         if diff_content_only:
             return None
     elif diff_content_only:
-        assert not has_same_content
         return Difference(None, file1.name, file2.name, comment="Files differ")
 
     specialize(file1)



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/722d735f0472882dfc12eae92b7b4a55e121c0f6

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/722d735f0472882dfc12eae92b7b4a55e121c0f6
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/20200120/52a98055/attachment.htm>


More information about the rb-commits mailing list