Skip to content

Commit 1d79935

Browse files
fix milestone (#117)
1 parent a298d69 commit 1d79935

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
venv/
12
__pycache__
23
list.txt
34
tokens.txt

issues_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def get_info(obj, attr):
159159
else EMPTY_FIELD
160160
),
161161
labels=';'.join(issue.labels) if issue.labels else EMPTY_FIELD,
162-
milestone=get_info(issue.milestone, 'title'),
162+
milestone=issue.milestone,
163163
)
164164

165165
comments = client.get_comments(repository, issue)

pull_requests_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def get_info(obj, attr):
157157
else EMPTY_FIELD
158158
),
159159
labels=';'.join(pull.labels) if pull.labels else EMPTY_FIELD,
160-
milestone=get_info(pull.milestone, 'title'),
160+
milestone=pull.milestone,
161161
)
162162

163163
if log_comments:

0 commit comments

Comments
 (0)