From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/ag-web:master commit in: lib/
Date: Sat, 21 Feb 2015 23:47:00 +0000 (UTC) [thread overview]
Message-ID: <1424562414.6c0177d18d37a7fb5591fa74431c25255daf8d04.robbat2@gentoo> (raw)
commit: 6c0177d18d37a7fb5591fa74431c25255daf8d04
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 21 23:46:54 2015 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat Feb 21 23:46:54 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/ag-web.git;a=commit;h=6c0177d1
Optimize.
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
---
lib/helpers.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/helpers.rb b/lib/helpers.rb
index e7050d1..5c3422e 100644
--- a/lib/helpers.rb
+++ b/lib/helpers.rb
@@ -4,7 +4,7 @@ require 'erb'
helpers do
def list_check
- unless $config['active_lists'].include?(params[:list]) or $config['frozen_lists'].include?(params[:list])
+ unless [$config['active_lists'], $config['frozen_lists']].flatten.include?(params[:list])
status 404
body "List not found"
return false
next reply other threads:[~2015-02-21 23:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-21 23:47 Robin H. Johnson [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-02-25 14:19 [gentoo-commits] proj/ag-web:master commit in: lib/ Alex Legler
2015-02-25 10:44 Alex Legler
2015-02-23 23:55 Alex Legler
2015-02-23 20:58 Alex Legler
2015-02-22 4:23 Robin H. Johnson
2015-02-21 23:47 Robin H. Johnson
2015-02-21 14:40 Alex Legler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1424562414.6c0177d18d37a7fb5591fa74431c25255daf8d04.robbat2@gentoo \
--to=robbat2@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox