about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoConfig.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-02-10 21:27:11 +0000
committerEric Wong <e@80x24.org>2017-02-10 21:27:11 +0000
commit416ba2fdab4f6de20ad7ec3656a057bb01b17339 (patch)
tree440afa9375a95e9b2eaa89a44cfa917ddb7a1571 /lib/PublicInbox/RepoConfig.pm
parentad679cb6bedd72bb70df47dbedac5a8d785ecc2b (diff)
downloadpublic-inbox-416ba2fdab4f6de20ad7ec3656a057bb01b17339.tar.gz
This allows RepoConfig to be independent of the
PublicInbox::Inbox class.
Diffstat (limited to 'lib/PublicInbox/RepoConfig.pm')
-rw-r--r--lib/PublicInbox/RepoConfig.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/PublicInbox/RepoConfig.pm b/lib/PublicInbox/RepoConfig.pm
index 7a1b316c..fb1fd584 100644
--- a/lib/PublicInbox/RepoConfig.pm
+++ b/lib/PublicInbox/RepoConfig.pm
@@ -3,7 +3,6 @@
 package PublicInbox::RepoConfig;
 use strict;
 use warnings;
-use PublicInbox::Inbox;
 use PublicInbox::Config;
 use PublicInbox::Repo;
 require PublicInbox::Hval;
@@ -54,7 +53,7 @@ sub lookup {
 
         # gitweb compatibility
         foreach my $key (qw(description cloneurl)) {
-                $rv->{$key} = PublicInbox::Inbox::try_cat("$path/$key");
+                $rv->{$key} = PublicInbox::Config::try_cat("$path/$key");
         }
 
         $rv->{desc_html} =