File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -490,7 +490,7 @@ def restart(self, timeout=None):
490490 :param timeout: A timeout period, in seconds.
491491 :type timeout: ``integer``
492492 """
493- result = self .get ("server/control/restart" )
493+ result = self .post ("server/control/restart" )
494494 if timeout is None : return result
495495 start = datetime .now ()
496496 diff = timedelta (seconds = 10 )
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ def add_to_document(self, parent):
7373 and sets up its subelements with their respective text.
7474
7575 :param parent: An ``ET.Element`` to be the parent of a new <arg> subelement
76- :returns: An ``ET.Element`` object representing this argument. #TODO: might not need to return here..
76+ :returns: An ``ET.Element`` object representing this argument.
7777 """
7878 arg = ET .SubElement (parent , "arg" )
7979 arg .set ("name" , self .name )
You can’t perform that action at this time.
0 commit comments