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

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 10373
093dcebe5ecb
child 10439
21c28b0f9e41
equal deleted inserted replaced
10437:2f70ca07f0af 10438:4cd7e5a8b3cf
24 24
25 def __init__(self, interval, project, vcs, parent=None): 25 def __init__(self, interval, project, vcs, parent=None):
26 """ 26 """
27 Constructor 27 Constructor
28 28
29 @param interval new interval in seconds (integer) 29 @param interval new interval in seconds
30 @param project reference to the project object (Project) 30 @type int
31 @param project reference to the project object
32 @type Project
31 @param vcs reference to the version control object 33 @param vcs reference to the version control object
32 @param parent reference to the parent object (QObject) 34 @type Subversion
35 @param parent reference to the parent object
36 @type QObject
33 """ 37 """
34 VcsStatusMonitorThread.__init__(self, interval, project, vcs, parent) 38 VcsStatusMonitorThread.__init__(self, interval, project, vcs, parent)
35 39
36 def _performMonitor(self): 40 def _performMonitor(self):
37 """ 41 """
51 <li>"?" path is not tracked</li> 55 <li>"?" path is not tracked</li>
52 <li>"!" path is missing</li> 56 <li>"!" path is missing</li>
53 <li>" " path is back at normal</li> 57 <li>" " path is back at normal</li>
54 </ul> 58 </ul>
55 59
56 @return tuple of flag indicating successful operation (boolean) and 60 @return tuple of flag indicating successful operation and a status message
57 a status message in case of non successful operation (string) 61 in case of non successful operation
62 @rtype tuple of (bool, str)
58 """ 63 """
59 self.shouldUpdate = False 64 self.shouldUpdate = False
60 65
61 client = pysvn.Client() 66 client = pysvn.Client()
62 client.exception_style = 1 67 client.exception_style = 1
155 @return tuple of four values (retcode, username, password, save). 160 @return tuple of four values (retcode, username, password, save).
156 Retcode should be True, if username and password should be used 161 Retcode should be True, if username and password should be used
157 by subversion, username and password contain the relevant data 162 by subversion, username and password contain the relevant data
158 as strings and save is a flag indicating, that username and 163 as strings and save is a flag indicating, that username and
159 password should be saved. Always returns (False, "", "", False). 164 password should be saved. Always returns (False, "", "", False).
165 @rtype tuple of (bool, str, str, bool)
160 """ 166 """
161 return (False, "", "", False) 167 return (False, "", "", False)
162 168
163 @pyqtSlot() 169 @pyqtSlot()
164 def __clientSslServerTrustPromptCallback(self): 170 def __clientSslServerTrustPromptCallback(self):
169 @return tuple of three values (retcode, acceptedFailures, save). 175 @return tuple of three values (retcode, acceptedFailures, save).
170 Retcode should be true, if the certificate should be accepted, 176 Retcode should be true, if the certificate should be accepted,
171 acceptedFailures should indicate the accepted certificate failures 177 acceptedFailures should indicate the accepted certificate failures
172 and save should be True, if subversion should save the certificate. 178 and save should be True, if subversion should save the certificate.
173 Always returns (False, 0, False). 179 Always returns (False, 0, False).
180 @rtype tuple of (bool, int, bool)
174 """ 181 """
175 return (False, 0, False) 182 return (False, 0, False)

eric ide

mercurial