From c91490ccae1a1775da1e816866ef0b08b234ff54 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 18 Apr 2020 03:38:51 +0000 Subject: wwwatomstream: move {emit_header} field to $self There's no need to pollute the cross-package $ctx with it. --- Documentation/mknews.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation/mknews.perl') diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl index adb83832..a9dede00 100755 --- a/Documentation/mknews.perl +++ b/Documentation/mknews.perl @@ -127,7 +127,7 @@ sub atom_start { require PublicInbox::WwwAtomStream; # WwwAtomStream stats this dir for mtime my $astream = PublicInbox::WwwAtomStream->new($ctx); - delete $ctx->{emit_header}; + delete $astream->{emit_header}; my $ibx = $ctx->{-inbox}; my $title = PublicInbox::WwwAtomStream::title_tag($ibx->description); my $updated = PublicInbox::WwwAtomStream::feed_updated(gmtime($mtime)); -- cgit v1.2.3-24-ge0c7