Comment #18 on issue 839 by Option to convert tabs in the diff to (n) spaces

I made a change (ReviewBoard- in reviewboard\diffviewer\ file and everything works:
Line 358-359, you will find:

    old = convert_to_utf8(old, encoding)
    new = convert_to_utf8(new, encoding)

change them to

    old = convert_to_utf8(old, encoding).expandtabs(4)
    new = convert_to_utf8(new, encoding).expandtabs(4)

So write to the end of the lines: ".expandtabs (4)". That's all. Empty all cache (python, server and client), they can foul you.

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to