PEP8 blank_lines monkeypatching does not seem to work

Bug #1219054 reported by HawkOwl
This bug report is a duplicate of:  Bug #1162202: Too many blank lines, expected %s. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
twistedchecker
New
Undecided
Unassigned

Bug Description

In pep8format.py:

        argumentsBlankLines = inspect.getargspec(pep8.blank_lines).args
        if 'blank_lines_before_comment' in argumentsBlankLines:
            # using old pep8.py
            pep8.blank_lines = modifiedBlankLinesForOldPEP8
        else:
            pep8.blank_lines = modifiedBlankLines

The pep8.blank_lines does not seem to work, and I have no idea why.

Related branches

Revision history for this message
HawkOwl (hawkowl) wrote :

I've fixed the bug in the branch that also fixes the %s problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.