changeset 41360:784ab13b340f

remotefilelog: remove pointless return statement from constructor Differential Revision: https://phab.mercurial-scm.org/D5630
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 17 Jan 2019 22:07:58 -0800
parents 431cf2c8c839
children 092c5d05ba01
files hgext/remotefilelog/remotefilectx.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/remotefilelog/remotefilectx.py	Tue Jan 15 22:57:09 2019 +0800
+++ b/hgext/remotefilelog/remotefilectx.py	Thu Jan 17 22:07:58 2019 -0800
@@ -452,8 +452,8 @@
 class remoteworkingfilectx(context.workingfilectx, remotefilectx):
     def __init__(self, repo, path, filelog=None, workingctx=None):
         self._ancestormap = None
-        return super(remoteworkingfilectx, self).__init__(repo, path,
-            filelog, workingctx)
+        super(remoteworkingfilectx, self).__init__(repo, path, filelog,
+                                                   workingctx)
 
     def parents(self):
         return remotefilectx.parents(self)