No issue: Update data renewal request script

pull/543/head
Roger Yang 2 years ago committed by mergify[bot]
parent 5a0b85fad2
commit 6237b26e36

@ -26,7 +26,6 @@ output_string = ""
total_count = 0
updated_version = int(version) + 13
for row in csv_reader:
(section, metric) = row["name"].split('.')
if row["keep(Y/N)"] == 'n':
continue
total_count += 1
@ -35,7 +34,11 @@ for row in csv_reader:
output_string += f' - {eval(row["data_reviews"])[0]}\n'
output_string += "\n"
output_string += "2) When will this collection now expire?\n"
output_string += f' - {updated_version}\n'
if len(row["new expiry version"]) == 0:
output_string += f' - {updated_version}\n'
else:
output_string += f' - {row["new expiry version"]}\n'
output_string += "\n"
output_string += "3) Why was the initial period of collection insufficient?\n"
output_string += f' - {row["reason to extend"]}\n'

Loading…
Cancel
Save