discovery: flake8
authorSean Farley <sean@farley.io>
Mon, 25 Apr 2016 20:00:19 -0700
changeset 1965 0421772a9c30
parent 1964 43f3c7ce73be
child 1966 e67c526c0a25
discovery: flake8
hgext3rd/topic/discovery.py
--- a/hgext3rd/topic/discovery.py	Mon Apr 25 19:59:05 2016 -0700
+++ b/hgext3rd/topic/discovery.py	Mon Apr 25 20:00:19 2016 -0700
@@ -28,14 +28,17 @@
             def __getitem__(self, key):
                 ctx = super(repocls, self).__getitem__(key)
                 oldbranch = ctx.branch
+
                 def branch():
                     branch = oldbranch()
                     topic = ctx.topic()
                     if topic:
                         branch = "%s:%s" % (branch, topic)
                     return branch
+
                 ctx.branch = branch
                 return ctx
+
         repo.__class__ = repocls
         branchmap.branchcache = topicmap.topiccache
         branchmap._filename = topicmap._filename