style: remove multiple statement on a single line
authorBoris Feld <boris.feld@octobus.net>
Mon, 09 Oct 2017 11:44:02 +0200
changeset 35628 ab11af15a149
parent 35627 882998f08c3c
child 35629 31451f3f4b56
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
hgext/convert/git.py
--- 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)