Merge ~andersson123/autopkgtest-cloud:drop-all-all-proposed into autopkgtest-cloud:master

Proposed by Tim Andersson
Status: Merged
Approved by: Brian Murray
Approved revision: 295f2c5308f920e5abab2dfbf634014cadea2891
Merged at revision: 295f2c5308f920e5abab2dfbf634014cadea2891
Proposed branch: ~andersson123/autopkgtest-cloud:drop-all-all-proposed
Merge into: autopkgtest-cloud:master
Diff against target: 25 lines (+0/-9)
1 file modified
charms/focal/autopkgtest-web/webcontrol/request/app.py (+0/-9)
Reviewer Review Type Date Requested Status
Skia Approve
Review via email: mp+463289@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Skia (hyask) :
review: Needs Fixing
Revision history for this message
Skia (hyask) wrote :

We've got the go to deploy this, I'll let you do this whenever you want :-)
Thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/charms/focal/autopkgtest-web/webcontrol/request/app.py b/charms/focal/autopkgtest-web/webcontrol/request/app.py
2index a4a3367..e751a43 100644
3--- a/charms/focal/autopkgtest-web/webcontrol/request/app.py
4+++ b/charms/focal/autopkgtest-web/webcontrol/request/app.py
5@@ -1,6 +1,4 @@
6 """Test Request Flask App"""
7-# FIXME: remove after time_t transition
8-import datetime
9 import hmac
10 import json
11 import logging
12@@ -289,13 +287,6 @@ def index_root():
13 return HTML.format(
14 LOGOUT + "<p>Deleted {} requests</p>".format(count)
15 ).format(**ChainMap(session, params))
16- # FIXME: remove after the time_t transition
17- time_t_over = datetime.datetime(2024, 4, 4)
18- now = datetime.datetime.utcnow()
19- if now < time_t_over:
20- if "migration-reference/0" not in params["triggers"]:
21- if params["release"] == "noble":
22- params["all-proposed"] = 1
23
24 if params.get("ppas"):
25 uuid = s.send_amqp_request(context="ppa", **params)

Subscribers

People subscribed via source and target branches