summaryrefslogtreecommitdiff
path: root/ironic_python_agent/extensions
diff options
context:
space:
mode:
authorDmitry Tantsur <dtantsur@protonmail.com>2019-11-19 18:19:31 +0100
committerDmitry Tantsur <dtantsur@protonmail.com>2019-12-04 16:50:47 +0100
commitf1b2df908a0f13b81ecd36a1376e55ce14503b06 (patch)
tree69e7571497f20862a160e185c27a156465475158 /ironic_python_agent/extensions
parent6032643a04cfc6867ad925845ddd2b3f7d99b4e9 (diff)
downloadironic-python-agent-f1b2df908a0f13b81ecd36a1376e55ce14503b06.tar.gz
Replace WSME and Pecan with Werkzeug
WSME is no longer maintained and Pecan is an overkill for our (purely internal) API. This change rewrites the API in Werkzeug (the library underneath Flask). I don't use Flask here since it's also an overkill for API with 4 meaningful endpoints. Change-Id: Ifed45f70869adf00e795202a53a2a53c9c57ef30
Diffstat (limited to 'ironic_python_agent/extensions')
-rw-r--r--ironic_python_agent/extensions/clean.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic_python_agent/extensions/clean.py b/ironic_python_agent/extensions/clean.py
index 74047dd2..3bdf5a1e 100644
--- a/ironic_python_agent/extensions/clean.py
+++ b/ironic_python_agent/extensions/clean.py
@@ -85,7 +85,7 @@ class CleanExtension(base.BaseAgentExtension):
{'step': step, 'result': result})
# Cast result tuples (like output of utils.execute) as lists, or
- # WSME throws errors
+ # API throws errors
if isinstance(result, tuple):
result = list(result)