Commit d666c0b2 authored by Marcel Rieger's avatar Marcel Rieger
Browse files

Fix some comments.

parent 8a172aec
......@@ -253,7 +253,7 @@ class Netstat(object):
class AjaxException(Exception):
"""
AjaxException that are handled by the ajax tool and that can be raised in controller methods.
AjaxException that is handled by the ajax tool and that can be raised in controller methods.
*message* is the error message to show. *code* should be an integer that represents a specific
type of exception. Note that this code is meant to extend HTTP status codes, i.e. 500 means
"internal server error", etc. If *alert* is *True*, the message is shown in a dialog in the GUI.
......
......@@ -22,7 +22,7 @@ class AjaxTool(cherrypy.Tool):
- message: In case of an error, i.e. code != 200, an additional error message. On success,
i.e. code = 200, this should be empty.
- alert: A boolean that desribes whether the error message should be shown in the GUI using a
dialog.
dialog or something similar.
"""
def __init__(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment