Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
2f8986b3 by wurstsalat at 2022-11-30T00:22:34+01:00
cq: Remove unnecessary pyright ignore comments

- - - - -


2 changed files:

- gajim/common/dbus/remote_control.py
- gajim/gtk/chat_stack.py


Changes:

=====================================
gajim/common/dbus/remote_control.py
=====================================
@@ -314,7 +314,7 @@ def change_status(status: str, message: str, account: str) 
-> bool:
 
             GLib.idle_add(app.get_client(account).change_status,
                           status,
-                          message)  # pyright: ignore
+                          message)
         else:
             # account not specified, so change the status of all accounts
             for acc in app.settings.get_active_accounts():
@@ -327,7 +327,7 @@ def change_status(status: str, message: str, account: str) 
-> bool:
 
                 GLib.idle_add(app.get_client(acc).change_status,
                               status,
-                              message)  # pyright: ignore
+                              message)
         return True
 
     @staticmethod


=====================================
gajim/gtk/chat_stack.py
=====================================
@@ -253,7 +253,7 @@ def show_chat(self, account: str, jid: JID) -> None:
             'switch_contact', self._current_contact)
 
         if old_primary_clipboard is not None:
-            GLib.idle_add(clipboard.set_text,  # pyright: ignore
+            GLib.idle_add(clipboard.set_text,
                           old_primary_clipboard,
                           -1)
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/2f8986b3d3b4f83ed942b8f108b62bf9ddf49e53

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/2f8986b3d3b4f83ed942b8f108b62bf9ddf49e53
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to