diff mercurial/httppeer.py @ 49748:78af51ba73c5

peer: stop having a `peer()` method on `peer()` This is already a peer, why do you want a peer if you already have one.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 03 Dec 2022 03:45:45 +0100
parents d44e3c45f0e4
children f075a9463ee7
line wrap: on
line diff
--- a/mercurial/httppeer.py	Sat Dec 03 03:45:39 2022 +0100
+++ b/mercurial/httppeer.py	Sat Dec 03 03:45:45 2022 +0100
@@ -403,9 +403,6 @@
     def local(self):
         return None
 
-    def peer(self):
-        return self
-
     def canpush(self):
         return True