On Feb 24, 10:21 am, "Edward K. Ream" <[email protected]> wrote:

> Alas, there is the matter of rev 2999 to consider.  It is a mass
> "cleaning" of files.  Here is the checkin log:
>
> pep 8 work. What a great way to waste time and insert bugs.
> pep 8 is actively evil unless there are reliable automatic tools in place.
>
> Yes, I did check the diffs, but as I said somewhere else, these kinds
> of changes are the very essence of stupidity. It would be good
> (essential) to have a tool to verify all the diffs of that rev affect
> only blanks lines or comments.

I generated the diff to a file.  Here is a simple @button script that
strips cruft so I can compare without going blind.

result = []
for s in g.splitLines(p.b):
    if s.startswith('===') or s.startswith('+') or s.startswith('-'):
        i = s.find('#')
        if i > -1:
            result.append(s[:i] + '\n')
        else:
            result.append(s)

p.b = ''.join(result)

With this check, I can contemplate releasing 4.7.1 later today with a
(relatively) clean conscience.

Because of problems with bzr settings, kt took longer to create the
diff than to create the script.  No matter. I've converted an
impossible manual task to a tool.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to