remotefilelog: remove pointless return statement from constructor
authorMartin von Zweigbergk <martinvonz@google.com>
Thu, 17 Jan 2019 22:07:58 -0800
changeset 41360 784ab13b340f
parent 41359 431cf2c8c839
child 41361 092c5d05ba01
remotefilelog: remove pointless return statement from constructor Differential Revision: https://phab.mercurial-scm.org/D5630
hgext/remotefilelog/remotefilectx.py
--- 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)