Mercurial > hg-stable
changeset 35628:ab11af15a149
style: remove multiple statement on a single line
This is similar to the change made in 5326e4ef1dab.
Differential Revision: https://phab.mercurial-scm.org/D1832
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 09 Oct 2017 11:44:02 +0200 |
parents | 882998f08c3c |
children | 31451f3f4b56 |
files | hgext/convert/git.py |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/git.py Mon Oct 09 11:40:15 2017 +0200 +++ b/hgext/convert/git.py Mon Oct 09 11:44:02 2017 +0200 @@ -342,13 +342,15 @@ p = v.split() tm, tz = p[-2:] author = " ".join(p[:-2]) - if author[0] == "<": author = author[1:-1] + if author[0] == "<": + author = author[1:-1] author = self.recode(author) if n == "committer": p = v.split() tm, tz = p[-2:] committer = " ".join(p[:-2]) - if committer[0] == "<": committer = committer[1:-1] + if committer[0] == "<": + committer = committer[1:-1] committer = self.recode(committer) if n == "parent": parents.append(v)