changeset 2061:0421772a9c30

discovery: flake8
author Sean Farley <sean@farley.io>
date Mon, 25 Apr 2016 20:00:19 -0700
parents 43f3c7ce73be
children e67c526c0a25
files hgext3rd/topic/discovery.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/discovery.py
+++ b/hgext3rd/topic/discovery.py
@@ -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