Xqt has submitted this change and it was merged.
Change subject: [PEP8] changes ......................................................................
[PEP8] changes
Change-Id: I09610572778d1f8864bca0f9b8fa3b09e6cf0be3 --- M copyright_put.py 1 file changed, 2 insertions(+), 3 deletions(-)
Approvals: Xqt: Looks good to me, approved
diff --git a/copyright_put.py b/copyright_put.py index 7141642..cfefab8 100644 --- a/copyright_put.py +++ b/copyright_put.py @@ -234,9 +234,8 @@ if m: m_end = re.search(separatorC, wikitext[m.end():]) if m_end: - wikitext = wikitext[ - :m_end.start() + m.end()] + output_data + wikitext[ - m_end.start() + m.end():] + wikitext = (wikitext[:m_end.start() + m.end()] + + output_data + wikitext[m_end.start() + m.end():]) else: wikitext += '\n' + output_data else: