]> Sergey Matveev's repositories - public-inbox.git/commitdiff
scripts/import_vger_from_mbox: set address properly
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Sun, 1 Apr 2018 23:24:26 +0000 (23:24 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Sun, 1 Apr 2018 23:25:14 +0000 (23:25 +0000)
For objects like Inbox; the '-' prefixed hash keys are
probably intended for auto-generated/hidden parameters.

scripts/import_vger_from_mbox

index 369dac79824a30b73a5d6cac836c3194f17f946e..191f75d67ebff99e8f1d88f05ea70a54e87a9828 100644 (file)
@@ -29,7 +29,7 @@ my $ibx = {
        mainrepo => $mainrepo,
        name => $name,
        version => $version,
-       -primary_address => $email,
+       address => [ $email ],
        filter => 'PublicInbox::Filter::Vger',
 };
 $ibx = PublicInbox::Inbox->new($ibx);