[DRE-commits] [SCM] ruby-raindrops.git branch, master, updated. upstream/0.8.0-9-g4a113a5

Hleb Valoshka 375GNU at Gmail.COM
Thu Mar 15 18:10:25 UTC 2012


The following commit has been merged in the master branch:
commit f9a58eeab5e5befc17d1aeae220a7d075808215e
Author: Hleb Valoshka <375GNU at Gmail.COM>
Date:   Thu Mar 15 21:02:15 2012 +0300

    patch for absent on buildd env['rack.logger'] (#661401)

diff --git a/debian/patches/fix-absent-on-buildd-rack-logger b/debian/patches/fix-absent-on-buildd-rack-logger
new file mode 100644
index 0000000..5c90911
--- /dev/null
+++ b/debian/patches/fix-absent-on-buildd-rack-logger
@@ -0,0 +1,11 @@
+--- a/lib/raindrops/watcher.rb
++++ b/lib/raindrops/watcher.rb
+@@ -178,7 +178,7 @@
+           @cond.broadcast
+         end
+       rescue => e
+-        logger.error "#{e.class} #{e.inspect}"
++        logger.error "#{e.class} #{e.inspect}" if logger
+       end while sleep(@delay) && @socket
+       sock.close
+     end
diff --git a/debian/patches/series b/debian/patches/series
index ac1c431..3c49d6e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+fix-absent-on-buildd-rack-logger
 fix-test-for-ipv6
 fix-test-for-non-linux

-- 
ruby-raindrops.git



More information about the Pkg-ruby-extras-commits mailing list