Commits

Yuya Nishihara  committed e99d961

thgbackdoor: remove unused ui parameter from BackDoorSession

  • Participants
  • Parent commits 6df1018

Comments (0)

Files changed (1)

File hgext/thgbackdoor.py

 class BackDoorSession(QObject):
     """Established backdoor session"""
 
-    def __init__(self, ui, context, io, parent=None):
+    def __init__(self, context, io, parent=None):
         super(BackDoorSession, self).__init__(parent)
         self._io = io
         self._io.readyRead.connect(self._handleread)
             while self._backdoorsock.hasPendingConnections():
                 self._lui.note('thgbackdoor: new connection\n')
                 sock = self._backdoorsock.nextPendingConnection()
-                session = BackDoorSession(self._lui, self._backdoorcontext,
-                                          sock, parent=self)
+                session = BackDoorSession(self._backdoorcontext, sock,
+                                          parent=self)
                 self._exceptionOccured.connect(session.dumpexcinfo,
                                                Qt.QueuedConnection)
                 sock.disconnected.connect(session.deleteLater)