Plugins/VcsPlugins/vcsMercurial/GpgExtension/HgGpgSignaturesDialog.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3034
7ce719013078
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
242 """ 242 """
243 Private method to process the lines of output. 243 Private method to process the lines of output.
244 244
245 @param line output line to be processed (string) 245 @param line output line to be processed (string)
246 """ 246 """
247 l = line.split() 247 li = line.split()
248 if l[-1][0] in "1234567890": 248 if li[-1][0] in "1234567890":
249 # last element is a rev:changeset 249 # last element is a rev:changeset
250 rev, changeset = l[-1].split(":", 1) 250 rev, changeset = li[-1].split(":", 1)
251 del l[-1] 251 del li[-1]
252 signature = " ".join(l) 252 signature = " ".join(li)
253 self.__generateItem(rev, changeset, signature) 253 self.__generateItem(rev, changeset, signature)
254 254
255 def __readStderr(self): 255 def __readStderr(self):
256 """ 256 """
257 Private slot to handle the readyReadStderr signal. 257 Private slot to handle the readyReadStderr signal.

eric ide

mercurial