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(""" ===========================================================