summaryrefslogtreecommitdiff
path: root/tests/__init__.py
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2021-05-14 16:51:52 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2021-05-14 16:51:52 -0400
commit34f5c6886f3e02558101a19cffb479c480ef646e (patch)
tree629b959667967299ca7969f3379b5fa58869e9c3 /tests/__init__.py
parentfd66babbab0dc2f63972a16e7a148cff4621ed71 (diff)
downloadb4-34f5c6886f3e02558101a19cffb479c480ef646e.tar.gz
Don't try to read stdin multiple times
With multiple entry points for calling get_msgid(), we may end up trying to read stdin multiple times. Call it once to ensure that this doesn't happen. Suggested-by: Morten Linderud <foxboron@archlinux.org> Improved-by: Kyle Meyer <kyle@kyleam.com> Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org> Link: https://lore.kernel.org/tools/87im4fi55o.fsf@kyleam.com
Diffstat (limited to 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions