summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-01 09:28:04 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-01 09:28:04 +0200
commitdbc610c40a39254aba32709d19d7d82130f33cf7 (patch)
treec20279b1f9d28242eca54020e276f466b74ea0ea
parent31d6065a85f51620e282112acef66aa9c92dc749 (diff)
views: remove debug messages with payload info
Remove print statements in views.py to reduce logging noise.
-rw-r--r--ogcp/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index c2a6a17..ac5df38 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -1953,7 +1953,7 @@ def action_mode():
if request.method == 'POST':
ips = form.ips.data.split(' ')
payload = { 'clients': ips, 'mode': form.boot.data }
- print(payload)
+
server = get_server_from_clients(ips)
r = server.post('/mode', payload)
if r.status_code == requests.codes.ok:
@@ -2797,7 +2797,7 @@ def action_repo_delete():
else:
params = request.args.to_dict()
repos = parse_elements(params)
- print(repos)
+
if not validate_elements(repos, max_len=1):
return redirect(url_for('manage_repos'))
repo_id = repos.pop()