aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/GLSATool.py')
-rw-r--r--bin/GLSATool.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/GLSATool.py b/bin/GLSATool.py
index 9aa21b9..7f3a9b2 100644
--- a/bin/GLSATool.py
+++ b/bin/GLSATool.py
@@ -74,6 +74,7 @@ class GLSATool:
release_path = '/glsas/{}/release'.format(num)
xml_path = '/glsas/{}/download.xml'.format(num)
txt_path = '/glsas/{}/download.txt'.format(num)
+ finalize_path = '/glsas/{}/finalize_release'.format(num)
data = {
'value': 'Release >',
@@ -110,9 +111,11 @@ class GLSATool:
f.write(txt)
print("Wrote {}".format(txt_filename))
- # TODO:
- # Mail it
# Close bugs
+ self.request(finalize_path, 'POST', data={'close_bugs': 1})
+
+ # TODO: Mail it
+
def new_whiteboard(self, old_whiteboard):
regex = re.compile('[A-C~][0-4] \[.*\]')