diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-06-27 03:30:39 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-06-27 03:42:43 +0000 |
commit | 18318887920773d43b72e9fb6490d3e74674bcf0 (patch) | |
tree | 94d0a2d11aad58c9b48e2f726bfe0138d5c1d57f /lib/raindrops/watcher.rb | |
parent | ad3bf417b45d50be7b0121b5dacca2bc95b7953b (diff) | |
download | raindrops-18318887920773d43b72e9fb6490d3e74674bcf0.tar.gz |
Found in the check-warnings target in pkg.mk
Diffstat (limited to 'lib/raindrops/watcher.rb')
-rw-r--r-- | lib/raindrops/watcher.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb index 6ecd3ed..6d965a5 100644 --- a/lib/raindrops/watcher.rb +++ b/lib/raindrops/watcher.rb @@ -228,6 +228,7 @@ class Raindrops::Watcher end def get(env) + retried = false case env["PATH_INFO"] when "/" index @@ -247,7 +248,7 @@ class Raindrops::Watcher not_found end rescue Errno::EDOM - raise if defined?(retried) + raise if retried retried = true wait_snapshot retry |