wireprotoserver: remove sshserver.getarg()
authorGregory Szorc <gregory.szorc@gmail.com>
Wed, 31 Jan 2018 11:19:47 -0800
changeset 35869 c9faf3a2eef1
parent 35868 5a9ff8c20123
child 35870 f1efc0caeab7
wireprotoserver: remove sshserver.getarg() AFAICT the last consumer of this helper method was removed by d054cc5c7737 in 2010. Differential Revision: https://phab.mercurial-scm.org/D1987
mercurial/wireprotoserver.py
--- a/mercurial/wireprotoserver.py	Wed Jan 31 11:19:05 2018 -0800
+++ b/mercurial/wireprotoserver.py	Wed Jan 31 11:19:47 2018 -0800
@@ -282,9 +282,6 @@
                 data[arg] = val
         return [data[k] for k in keys]
 
-    def getarg(self, name):
-        return self.getargs(name)[0]
-
     def getfile(self, fpout):
         self.sendresponse('')
         count = int(self.fin.readline())