Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Sorting issues by number before migrating

  • Loading branch information...
commit 06b1f1fa2d0ff7f6a4bd016aacf0a8161800d8f5 1 parent 2db76fa
Jeff Roche authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  sifter2github.py
2  sifter2github.py
View
@@ -13,7 +13,7 @@ def __init__(self, host, token, project):
_projects = _account.projects()
proj_names = [p.name for p in _projects]
_project = _projects[proj_names.index(project)]
- self.issues = _project.issues()
+ self.issues = sorted(_project.issues(), key=lambda issue: issue.number)
self.comments = [sorted(_issue.comments(), key=lambda comment: comment.created_at) for _issue in self.issues]
self.milestones = _project.milestones()
self.users = _project.people()
Please sign in to comment.
Something went wrong with that request. Please try again.