* [PATCH 3/6] config: tiny cleanup to use _array() sub
2019-01-31 10:51 5% [PATCH 0/6] more minor cleanups and doc updates Eric Wong
@ 2019-01-31 10:51 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2019-01-31 10:51 UTC (permalink / raw)
To: meta
---
lib/PublicInbox/Config.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm
index ccfc114..da443e5 100644
--- a/lib/PublicInbox/Config.pm
+++ b/lib/PublicInbox/Config.pm
@@ -32,7 +32,7 @@ sub new {
$self->{-code_repos} ||= {}; # nick => PublicInbox::Git object
if (my $no = delete $self->{'publicinbox.noobfuscate'}) {
- $no = [ $no ] if ref($no) ne 'ARRAY';
+ $no = _array($no);
my @domains;
foreach my $n (@$no) {
my @n = split(/\s+/, $n);
--
EW
^ permalink raw reply related [relevance 7%]
* [PATCH 0/6] more minor cleanups and doc updates
@ 2019-01-31 10:51 5% Eric Wong
2019-01-31 10:51 7% ` [PATCH 3/6] config: tiny cleanup to use _array() sub Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2019-01-31 10:51 UTC (permalink / raw)
To: meta
Always more work to do :x
Eric Wong (6):
inbox: drop psgi.url_scheme requirement from base_url
qspawn: documentation updates
config: tiny cleanup to use _array() sub
doc/config: user documentation for limiters
doc/config: document "replyto" configuration knob
doc: remove completed TODO items
Documentation/public-inbox-config.pod | 78 +++++++++++++++++++++++++++
TODO | 5 --
lib/PublicInbox/Config.pm | 2 +-
lib/PublicInbox/Inbox.pm | 4 +-
lib/PublicInbox/Qspawn.pm | 77 ++++++++++++++++++++++----
lib/PublicInbox/ViewVCS.pm | 3 +-
t/solver_git.t | 2 +-
7 files changed, 150 insertions(+), 21 deletions(-)
--
EW
^ permalink raw reply [relevance 5%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2019-01-31 10:51 5% [PATCH 0/6] more minor cleanups and doc updates Eric Wong
2019-01-31 10:51 7% ` [PATCH 3/6] config: tiny cleanup to use _array() sub Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).