98 |
98 |
99 self.errorGroup.hide() |
99 self.errorGroup.hide() |
100 self.intercept = False |
100 self.intercept = False |
101 self.activateWindow() |
101 self.activateWindow() |
102 |
102 |
103 dname, fname = self.vcs.splitPath(fn) |
103 dname, _fname = self.vcs.splitPath(fn) |
104 |
104 |
105 # find the root of the repo |
105 # find the root of the repo |
106 repodir = self.vcs.findRepoRoot(dname) |
106 repodir = self.vcs.findRepoRoot(dname) |
107 if not repodir: |
107 if not repodir: |
108 return |
108 return |
172 self.close() |
172 self.close() |
173 elif button == self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel): |
173 elif button == self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel): |
174 self.__finish() |
174 self.__finish() |
175 |
175 |
176 @pyqtSlot(int, QProcess.ExitStatus) |
176 @pyqtSlot(int, QProcess.ExitStatus) |
177 def __procFinished(self, exitCode, exitStatus): |
177 def __procFinished(self, _exitCode, _exitStatus): |
178 """ |
178 """ |
179 Private slot connected to the finished signal. |
179 Private slot connected to the finished signal. |
180 |
180 |
181 @param exitCode exit code of the process |
181 @param _exitCode exit code of the process (unused) |
182 @type int |
182 @type int |
183 @param exitStatus exit status of the process |
183 @param _exitStatus exit status of the process (unused) |
184 @type QProcess.ExitStatus |
184 @type QProcess.ExitStatus |
185 """ |
185 """ |
186 self.__finish() |
186 self.__finish() |
187 |
187 |
188 def __resizeColumns(self): |
188 def __resizeColumns(self): |