From 0ed4558e3aa2dafde6b75e138b1c27fc5ad0d424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Hendricksen?= Date: Mon, 22 Aug 2016 23:42:47 -0400 Subject: [PATCH] so many staging requests for images, need to cut the noise --- lib/travis/api/app/helpers/accept.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/travis/api/app/helpers/accept.rb b/lib/travis/api/app/helpers/accept.rb index 7e83e86f..98aa9535 100644 --- a/lib/travis/api/app/helpers/accept.rb +++ b/lib/travis/api/app/helpers/accept.rb @@ -12,7 +12,7 @@ class Travis::Api::App TOKEN = /[^#{SEPARATORS}]+/ attr_reader :type, :subtype, :quality, :version, :params def initialize(accept_string) - puts "DEBUG: Accept String: #{accept_string.inspect}" + puts "DEBUG: Accept String: #{accept_string.inspect}" unless accept_string == "image/png" || accept_string == "*/*" @type, @subtype, @quality, @version, @params = parse(accept_string) end