Review Board 2.0.15


style: Change include sorter to yield one line at a time

Review Request #3382 - Created March 16, 2016 and submitted

Information
Andreas Sandberg
gem5
default
Reviewers
Default
Changeset 11373:ee0feec345c0
---------------------------
style: Change include sorter to yield one line at a time

The include sorter class normally yields one string per line and
relies on the caller to merge lines into a block of text separated by
newlines. However, there are cases when this isn't true. This makes
diffing using Python's difflib hard. This changeset updates the
include sorter to never do this and always yield one line at a time.

Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>

   
Review request changed
Updated (March 30, 2016, 7:30 a.m.)

Status: Closed (submitted)