diff options
author | Eric Wong <e@80x24.org> | 2017-02-15 00:06:06 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-02-15 19:21:24 +0000 |
commit | 993dc7a772b10deda15733c8e750d98bf4d27bd0 (patch) | |
tree | 6448a82de9df201d624be902d2b0c54270b0adb0 /lib/PublicInbox | |
parent | 36c89ffaf34c6fe50bd8c49f44163dbb85680a43 (diff) | |
download | public-inbox-993dc7a772b10deda15733c8e750d98bf4d27bd0.tar.gz |
We must lazilly load one of them, so load Inbox later since we need to parse the config, first.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r-- | lib/PublicInbox/Config.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm index f2c40b13..15c2a085 100644 --- a/lib/PublicInbox/Config.pm +++ b/lib/PublicInbox/Config.pm @@ -5,7 +5,6 @@ package PublicInbox::Config; use strict; use warnings; -require PublicInbox::Inbox; use PublicInbox::Spawn qw(popen_rd); # returns key-value pairs of config directives in a hash @@ -131,6 +130,7 @@ sub git_config_dump { } sub _fill { + require PublicInbox::Inbox; my ($self, $pfx) = @_; my $rv = {}; |