Permalink
Browse files

Removing superfluous yield.

The `submit` method yields to the block it's been passed, prints out a trace,
then makes almost the same yield again. I assume that this is in error, and
could have been caused by my previous merge.
  • Loading branch information...
1 parent b13f678 commit 03da49d56da895ee0750e256dfb1845bc4003260 @runpaint committed Apr 23, 2009
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/octopi.rb
View
1 lib/octopi.rb
@@ -153,7 +153,6 @@ def submit(path, params = {}, format = "yaml", &block)
end
end
- resp = yield(path, query, format)
raise APIError,
"GitHub returned status #{resp.code}" unless resp.code.to_i == 200
# FIXME: This fails for showing raw Git data because that call returns

0 comments on commit 03da49d

Please sign in to comment.