From ea0700a032ba596769034191e8190eef556353a3 Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Thu, 14 Mar 2019 10:09:36 +0100 Subject: [PATCH] fix some small bugs --- scripts/bootstrap_history.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/bootstrap_history.py b/scripts/bootstrap_history.py index 7175810f322..7b476f64934 100644 --- a/scripts/bootstrap_history.py +++ b/scripts/bootstrap_history.py @@ -20,6 +20,7 @@ try: from pygithub3 import Github except ImportError: Github = None +print(Github) from six import string_types from six.moves.urllib.parse import urljoin @@ -41,7 +42,7 @@ DEVTEAM = [ "VJalili" ] -TEMPLATE = """ +TEMPLATE = string.Template(""" .. to_doc ${release} @@ -76,7 +77,7 @@ Fixes .. include:: ${release}_prs.rst -""" +""") ANNOUNCE_TEMPLATE = string.Template(""" ===========================================================