From b672357f784788232a04a76d7509918c83114a03 Mon Sep 17 00:00:00 2001 From: o9000 Date: Mon, 28 Aug 2017 16:29:49 +0200 Subject: [PATCH] Add packaging version check script --- packaging/version_status.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packaging/version_status.py b/packaging/version_status.py index 1f55e50..fba0f33 100755 --- a/packaging/version_status.py +++ b/packaging/version_status.py @@ -320,6 +320,8 @@ def get_openbsd_versions(): return "OpenBSD", "openbsd", versions +# Upstream + def get_tint2_version(): readme = http_download_txt("https://gitlab.com/o9000/tint2/raw/master/README.md") version = readme.split("\n", 1)[0].split(":", 1)[-1].strip() @@ -351,9 +353,8 @@ def main(): status = ":warning: Out of date" print "| {0} {1} | {2} | {3} | {4} |".format(icon, dist, r[0], r[1], status) utc_datetime = datetime.datetime.utcnow() - utc_datetime.strftime("%Y-%m-%d %H:%M UTC") print "" - print "Last updated:", utc_datetime + print "Last updated:", utc_datetime.strftime("%Y-%m-%d %H:%M UTC") if __name__ == "__main__":