about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoBase.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-02-17 23:40:37 +0000
committerEric Wong <e@80x24.org>2017-02-17 23:41:34 +0000
commit3adb3d824864804a357b68dd33f9c2c973742174 (patch)
treedd403014d2b9248be2f1d44bb957b742f7ef5d72 /lib/PublicInbox/RepoBase.pm
parent7ca9df837d6b6ac060a9f321fe87900218ef7e88 (diff)
downloadpublic-inbox-3adb3d824864804a357b68dd33f9c2c973742174.tar.gz
Avoid using '=>' arrow notation for arrays and array references,
it is confusing and more verbose.  Additionally, combine
"use constant" statements when possible.
Diffstat (limited to 'lib/PublicInbox/RepoBase.pm')
-rw-r--r--lib/PublicInbox/RepoBase.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/RepoBase.pm b/lib/PublicInbox/RepoBase.pm
index 8c5f5c9d..9876cf2a 100644
--- a/lib/PublicInbox/RepoBase.pm
+++ b/lib/PublicInbox/RepoBase.pm
@@ -16,7 +16,7 @@ sub call {
                 my $sub = "call_${vcs}_$cmd";
                 $self->$sub($req);
         };
-        $@ ? [ 500, ['Content-Type'=>'text/plain'], [] ] : $rv;
+        $@ ? [ 500, ['Content-Type', 'text/plain'], [] ] : $rv;
 }
 
 sub mime_load {