src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnStatusMonitorThread.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10373
093dcebe5ecb
diff -r 7febcdccb2a1 -r 435cc5875135 src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnStatusMonitorThread.py
--- a/src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnStatusMonitorThread.py	Thu May 25 11:12:05 2023 +0200
+++ b/src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnStatusMonitorThread.py	Thu May 25 19:51:47 2023 +0200
@@ -11,6 +11,8 @@
 
 import pysvn
 
+from PyQt6.QtCore import pyqtSlot
+
 from eric7 import Preferences
 from eric7.VCS.StatusMonitorThread import VcsStatusMonitorThread
 
@@ -145,14 +147,11 @@
         os.chdir(cwd)
         return res, statusStr
 
-    def __clientLoginCallback(self, realm, username, may_save):
+    @pyqtSlot()
+    def __clientLoginCallback(self):
         """
         Private method called by the client to get login information.
 
-        @param realm name of the realm of the requested credentials (string)
-        @param username username as supplied by subversion (string)
-        @param may_save flag indicating, that subversion is willing to save
-            the answers returned (boolean)
         @return tuple of four values (retcode, username, password, save).
             Retcode should be True, if username and password should be used
             by subversion, username and password contain the relevant data
@@ -161,12 +160,12 @@
         """
         return (False, "", "", False)
 
-    def __clientSslServerTrustPromptCallback(self, trust_dict):
+    @pyqtSlot()
+    def __clientSslServerTrustPromptCallback(self):
         """
         Private method called by the client to request acceptance for a
         ssl server certificate.
 
-        @param trust_dict dictionary containing the trust data
         @return tuple of three values (retcode, acceptedFailures, save).
             Retcode should be true, if the certificate should be accepted,
             acceptedFailures should indicate the accepted certificate failures

eric ide

mercurial