• 
      

    Correctly return line counts in the FileDiffCollectionMixin

    Review Request #10099 — Created July 24, 2018 and submitted — Latest diff uploaded

    Information

    Review Board
    release-4.0.x
    b2f5893...

    Reviewers

    The FileDiffCollectionMixin incorrectly assumed that counts would
    always be integers. However, before chunks are generated, some line
    counts may be None. This patch works around that limitation and
    returns the correct result for that case. Unit tests have been added to
    test this behaviour.

    Ran unit tests.