every line needs to be its own string

This commit is contained in:
Oliver Schneider 2016-12-21 13:12:17 +01:00
parent 49e3419b87
commit 6d3841e69d
No known key found for this signature in database
GPG Key ID: 56D6EEA0FC67AC46
1 changed files with 4 additions and 1 deletions

View File

@ -98,7 +98,10 @@ def gen_deprecated(lints):
"""Declare deprecated lints"""
for lint in lints:
yield ' store.register_removed(\n "%s",\n "%s",\n );\n' % (lint[1], lint[2])
yield ' store.register_removed(\n'
yield ' "%s",\n' % lint[1]
yield ' "%s",\n' % lint[2]
yield ' );\n'
def replace_region(fn, region_start, region_end, callback,