~oddbloke/cloud-init/fix-gce-az

« back to all changes in this revision

Viewing changes to tools/hacking.py

  • Committer: Scott Moser
  • Date: 2015-05-01 09:38:56 UTC
  • Revision ID: smoser@ubuntu.com-20150501093856-9ogq51r7w33sqvqa
fix 'Make pyflakes'

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
    """
129
129
    pos = max([physical_line.find(i) for i in DOCSTRING_TRIPLE])  # start
130
130
    if (pos != -1 and len(physical_line) == pos):
131
 
        print physical_line
 
131
        print(physical_line)
132
132
        if (physical_line[pos + 3] == ' '):
133
133
            return (pos, "N403: multi line docstring end on new line")
134
134