Show More
@@ -17,7 +17,7 b' import json' | |||||
17 | try: |
|
17 | try: | |
18 | import requests_cache |
|
18 | import requests_cache | |
19 | except ImportError: |
|
19 | except ImportError: | |
20 | print("no cache", file=sys.stderr) |
|
20 | print("cache not available, install `requests_cache` for caching.", file=sys.stderr) | |
21 | else: |
|
21 | else: | |
22 | requests_cache.install_cache("gh_api", expire_after=3600) |
|
22 | requests_cache.install_cache("gh_api", expire_after=3600) | |
23 |
|
23 |
@@ -212,8 +212,7 b' if __name__ == "__main__":' | |||||
212 |
|
212 | |||
213 | print("We closed %d issues and merged %d pull requests." % (n_issues, n_pulls)) |
|
213 | print("We closed %d issues and merged %d pull requests." % (n_issues, n_pulls)) | |
214 | if milestone: |
|
214 | if milestone: | |
215 |
print("The full list can be seen `on GitHub <https://github.com/ |
|
215 | print("The full list can be seen `on GitHub <https://github.com/{project}/issues?q=milestone%3A{milestone}+>`__".format(project=project,milestone=milestone) | |
216 | % (project, milestone) |
|
|||
217 | ) |
|
216 | ) | |
218 |
|
217 | |||
219 | print() |
|
218 | print() |
General Comments 0
You need to be logged in to leave comments.
Login now