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):
490
490
:param timeout: A timeout period, in seconds.
491
491
:type timeout: ``integer``
492
492
"""
493
- result = self .get ("server/control/restart" )
493
+ result = self .post ("server/control/restart" )
494
494
if timeout is None : return result
495
495
start = datetime .now ()
496
496
diff = timedelta (seconds = 10 )
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ def add_to_document(self, parent):
73
73
and sets up its subelements with their respective text.
74
74
75
75
: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.
77
77
"""
78
78
arg = ET .SubElement (parent , "arg" )
79
79
arg .set ("name" , self .name )
You can’t perform that action at this time.
0 commit comments