Skip to content

Commit 9cdbf28

Browse files
committed
aosa-report: print to stderr
1 parent b3807b1 commit 9cdbf28

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

aosa-report/reporter.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import logging
66
import subprocess
77
import os
8+
import sys
89
from github import Github, Label
910

1011
REPO_NAME = 'AOSC-Dev/aosc-os-abbs'
@@ -109,9 +110,9 @@ def get_issues_after(date: datetime.datetime, repo, label):
109110
count = 0
110111
for issue in repo.get_issues(state='closed', labels=[label], since=date):
111112
issues.append(issue)
112-
print('\rEnumerating issues... %s' % count, end='', flush=True)
113+
print('\rEnumerating issues... %s' % count, end='', flush=True, file=sys.stderr)
113114
count += 1
114-
print('... done.')
115+
print('... done.', file=sys.stderr)
115116
return issues
116117

117118

0 commit comments

Comments
 (0)