Plugins/VcsPlugins/vcsMercurial/HgClient.py

branch
5_2_x
changeset 1937
207267495b8c
parent 1550
0550f9915d65
child 2302
f29e9405c851
equal deleted inserted replaced
1931:0e67826e1991 1937:207267495b8c
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