diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2025-05-07 11:31:20 +0200 | 
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2025-07-07 08:32:41 +0200 | 
| commit | bae4e80500b552f7b3658a1a6a158fef02047f58 (patch) | |
| tree | 1f8ea0764cce5b32b8cc2178a20211b3c993e7ff /interfaces | |
| parent | 4bf1c1ffe795a1d28a543a20cc3771a30a090b89 (diff) | |
Remove the existing handler (and unused) in socketserver
Diffstat (limited to 'interfaces')
| -rwxr-xr-x | interfaces/desktopEvent.py | 3 | ||||
| -rwxr-xr-x | interfaces/endpoint.py | 2 | 
2 files changed, 1 insertions, 4 deletions
| diff --git a/interfaces/desktopEvent.py b/interfaces/desktopEvent.py index e8a30a4..9030ccd 100755 --- a/interfaces/desktopEvent.py +++ b/interfaces/desktopEvent.py @@ -4,10 +4,9 @@ from zope.interface import Attribute  class IDesktop(interface.Interface):
 -    queue = Attribute("""The queue to send the message""")
      mapping = Attribute("""Correspondance between application and layer""")
 -    def getForegroundWindowTitle(sel) -> Optional[str]:
 +    def getForegroundWindowTitle(self) -> Optional[str]:
          """ Return the name of the selected window
          """
 diff --git a/interfaces/endpoint.py b/interfaces/endpoint.py index 4da7c57..2f3af95 100755 --- a/interfaces/endpoint.py +++ b/interfaces/endpoint.py @@ -5,7 +5,6 @@ from zope.interface import Attribute  class IEndpoint(interface.Interface):
 -    queue = Attribute("""The queue to send the message""")
      state = Attribute("""The connection status""")
      def isConnected(self) ->  bool:
 @@ -59,7 +58,6 @@ class EndPoint(object):      def __init__(self, connection):
          self.connection = connection
 -        self.queue = None
          self.state = self.STATE_DISCONNECTED
      def isConnected(self) -> bool:
 | 
