411 self.sendJson("HistoryResult", result) |
411 self.sendJson("HistoryResult", result) |
412 |
412 |
413 elif subcommand == "GetChange": |
413 elif subcommand == "GetChange": |
414 result = { |
414 result = { |
415 "Subcommand": "ChangeDescription", |
415 "Subcommand": "ChangeDescription", |
416 "Description": |
416 "Description": |
417 self.__changes["History"][params["Id"]].get_description() |
417 self.__changes["History"][params["Id"]].get_description() |
418 } |
418 } |
419 |
419 |
420 self.sendJson("HistoryResult", result) |
420 self.sendJson("HistoryResult", result) |
421 |
421 |
661 parameters sent by the server. |
661 parameters sent by the server. |
662 |
662 |
663 @param params dictionary containing the method parameters sent by |
663 @param params dictionary containing the method parameters sent by |
664 the server |
664 the server |
665 @type dict |
665 @type dict |
|
666 @exception Exception raised to indicate an invalid extraction type |
666 """ |
667 """ |
667 changeGroup = params["ChangeGroup"] |
668 changeGroup = params["ChangeGroup"] |
668 title = params["Title"] |
669 title = params["Title"] |
669 filename = params["FileName"] |
670 filename = params["FileName"] |
670 startOffset = params["StartOffset"] |
671 startOffset = params["StartOffset"] |