Plugins/VcsPlugins/vcsMercurial/HgClient.py

changeset 1935
df157512654c
parent 1550
0550f9915d65
child 2302
f29e9405c851
equal deleted inserted replaced
1934:ad6b7c30fb9f 1935:df157512654c
325 reply = prompt(size, outputBuffer.getvalue()) 325 reply = prompt(size, outputBuffer.getvalue())
326 return reply 326 return reply
327 inputChannels["L"] = func 327 inputChannels["L"] = func
328 else: 328 else:
329 def myprompt(size): 329 def myprompt(size):
330 reply = self.__prompt(size, outputBuffer.getvalue()) 330 if outputBuffer is None:
331 msg = self.trUtf8("For message see output dialog.")
332 else:
333 msg = outputBuffer.getvalue()
334 reply = self.__prompt(size, msg)
331 return reply 335 return reply
332 inputChannels["L"] = myprompt 336 inputChannels["L"] = myprompt
333 if input is not None: 337 if input is not None:
334 inputChannels["I"] = input 338 inputChannels["I"] = input
335 339

eric ide

mercurial