Plugins/VcsPlugins/vcsMercurial/GpgExtension/HgGpgSignaturesDialog.py

changeset 3034
7ce719013078
parent 3023
34ce20603bf7
child 3060
5883ce99ee12
child 3160
209a07d7e401
equal deleted inserted replaced
3033:58fe260e7469 3034:7ce719013078
236 """ 236 """
237 Private method to process the lines of output. 237 Private method to process the lines of output.
238 238
239 @param line output line to be processed (string) 239 @param line output line to be processed (string)
240 """ 240 """
241 l = line.split() 241 li = line.split()
242 if l[-1][0] in "1234567890": 242 if li[-1][0] in "1234567890":
243 # last element is a rev:changeset 243 # last element is a rev:changeset
244 rev, changeset = l[-1].split(":", 1) 244 rev, changeset = li[-1].split(":", 1)
245 del l[-1] 245 del li[-1]
246 signature = " ".join(l) 246 signature = " ".join(li)
247 self.__generateItem(rev, changeset, signature) 247 self.__generateItem(rev, changeset, signature)
248 248
249 def __readStderr(self): 249 def __readStderr(self):
250 """ 250 """
251 Private slot to handle the readyReadStderr signal. 251 Private slot to handle the readyReadStderr signal.

eric ide

mercurial