Permalink
Browse files

Use $stdout.print

  • Loading branch information...
gnufied committed Apr 3, 2012
1 parent 2527c9e commit 77cdf4227a70087aa8209d5c74be258a92bf4c76
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/pivotal_sync.rb
View
@@ -37,12 +37,12 @@ def redmine_project
def sync_all_open_issues
project = redmine_project()
raise "Invalid redmine project #{redmine_project_handle}" unless project
-
+ $stdout.sync = true
issues = project.issues.open
issues.each do |issue|
pivotal_story = @synced_issues[issue.id]
sync_issue(issue,pivotal_project_id,pivotal_story)
- print "."
+ $stdout.print "."
end
puts "All issues synced up"
end

0 comments on commit 77cdf42

Please sign in to comment.