about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepobrowseConfig.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/RepobrowseConfig.pm')
-rw-r--r--lib/PublicInbox/RepobrowseConfig.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/PublicInbox/RepobrowseConfig.pm b/lib/PublicInbox/RepobrowseConfig.pm
index 77ef46bb..a08c6cec 100644
--- a/lib/PublicInbox/RepobrowseConfig.pm
+++ b/lib/PublicInbox/RepobrowseConfig.pm
@@ -3,7 +3,8 @@
 package PublicInbox::RepobrowseConfig;
 use strict;
 use warnings;
-use PublicInbox::Config qw/try_cat/;
+use PublicInbox::Inbox;
+use PublicInbox::Config;
 require PublicInbox::Hval;
 
 sub new {
@@ -52,7 +53,7 @@ sub lookup {
 
         # gitweb compatibility
         foreach my $key (qw(description cloneurl)) {
-                $rv->{$key} = try_cat("$path/$key");
+                $rv->{$key} = PublicInbox::Inbox::try_cat("$path/$key");
         }
 
         $rv->{desc_html} =