Skip to content
Browse files

Extra logging when retrieving existing issues.

  • Loading branch information...
1 parent 982e60f commit a4527d816b14cb74bf611b19ab3ad5762faab24e @dnschnur dnschnur committed Sep 27, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 migrateissues.py
View
3 migrateissues.py
@@ -221,6 +221,8 @@ def get_existing_github_issues():
"""
+ output("Retrieving existing Github issues...\n")
+
try:
open_issues = list(github_repo.get_issues(state = "open"))
@@ -229,6 +231,7 @@ def get_existing_github_issues():
# We only care about issues marked as 'imported'; ones that we created
+ output("Identifying previously-migrated issues...\n")
existing_issues = [ issue for issue in issues if "imported" in [ label.name for label in issue.get_labels() ] ]
return dict(zip([ str(issue.title) for issue in existing_issues ], existing_issues))
# return { str(issue.title): issue for issue in existing_issues } Python 2.7+

0 comments on commit a4527d8

Please sign in to comment.
Something went wrong with that request. Please try again.