commit d53122430e790b74a38ee012eb7cf3cfa4a1f127 Author: Nick Mathewson nickm@torproject.org Date: Thu Jun 18 17:46:45 2020 -0400
gitlab-checklist: small tweaks --- gitlab/gitlab-checklist | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/gitlab/gitlab-checklist b/gitlab/gitlab-checklist index 3af269c..bf02c50 100755 --- a/gitlab/gitlab-checklist +++ b/gitlab/gitlab-checklist @@ -16,7 +16,7 @@ import sys # The result will be a gitlab checklist.
if sys.stdin.isatty(): - print("(reading from stdin...)", file=stderr) + print("(reading from stdin...)", file=sys.stderr)
# Parse the input. input = sys.stdin.read() @@ -27,8 +27,6 @@ issues = input.split()
gl = gitlab.Gitlab('https://gitlab.torproject.org')
-MAIN_PROJECT = "tor" - if 0: all_projects = {} for p in gl.projects.list(all=True): @@ -62,7 +60,5 @@ for iid in issues: else: x = " " name = gl.projects.get(issue.project_id).name.lower() - if name == MAIN_PROJECT: - name = "" print(" * [{}] {}#{} {} ".format(x, name, iid, issue.title))