diff options
author | Eric Wong <e@80x24.org> | 2017-02-10 21:27:11 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-02-10 21:27:11 +0000 |
commit | 416ba2fdab4f6de20ad7ec3656a057bb01b17339 (patch) | |
tree | 440afa9375a95e9b2eaa89a44cfa917ddb7a1571 /lib/PublicInbox/RepoConfig.pm | |
parent | ad679cb6bedd72bb70df47dbedac5a8d785ecc2b (diff) | |
download | public-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.pm | 3 |
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} = |