src/eric7/Plugins/VcsPlugins/vcsGit/GitDescribeDialog.py

branch
eric7
changeset 10690
fab36645aa7d
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10689:3ede487187f2 10690:fab36645aa7d
92 self.activateWindow() 92 self.activateWindow()
93 93
94 self.__commits = commits[:] 94 self.__commits = commits[:]
95 self.__tagInfoLines = [] 95 self.__tagInfoLines = []
96 96
97 dname, fname = self.vcs.splitPath(path) 97 dname, _fname = self.vcs.splitPath(path)
98 98
99 # find the root of the repo 99 # find the root of the repo
100 self.repodir = self.vcs.findRepoRoot(dname) 100 self.repodir = self.vcs.findRepoRoot(dname)
101 if not self.repodir: 101 if not self.repodir:
102 return 102 return
167 self.close() 167 self.close()
168 elif button == self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel): 168 elif button == self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel):
169 self.__finish() 169 self.__finish()
170 170
171 @pyqtSlot(int, QProcess.ExitStatus) 171 @pyqtSlot(int, QProcess.ExitStatus)
172 def __procFinished(self, exitCode, exitStatus): 172 def __procFinished(self, _exitCode, _exitStatus):
173 """ 173 """
174 Private slot connected to the finished signal. 174 Private slot connected to the finished signal.
175 175
176 @param exitCode exit code of the process 176 @param _exitCode exit code of the process (unused)
177 @type int 177 @type int
178 @param exitStatus exit status of the process 178 @param _exitStatus exit status of the process (unused)
179 @type QProcess.ExitStatus 179 @type QProcess.ExitStatus
180 """ 180 """
181 if self.__tagInfoLines: 181 if self.__tagInfoLines:
182 if self.__commits: 182 if self.__commits:
183 for commit, tagInfo in zip(self.__commits, self.__tagInfoLines): 183 for commit, tagInfo in zip(self.__commits, self.__tagInfoLines):

eric ide

mercurial