diff mbox series

[2/2] testinfo.pl: Optimize imports

Message ID 20210121130033.20764-2-pvorel@suse.cz
State Accepted
Headers show
Series [1/2] docparse: Replace \t with space | expand

Commit Message

Petr Vorel Jan. 21, 2021, 1 p.m. UTC
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 docparse/testinfo.pl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Petr Vorel Jan. 28, 2021, 2:53 p.m. UTC | #1
Hi,

> Signed-off-by: Petr Vorel <pvorel@suse.cz>
Merged this simple one.

Kind regards,
Petr

> ---
>  docparse/testinfo.pl | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

> diff --git a/docparse/testinfo.pl b/docparse/testinfo.pl
> index b636b3c0e..b5ab02bc1 100755
> --- a/docparse/testinfo.pl
> +++ b/docparse/testinfo.pl
> @@ -6,8 +6,7 @@
>  use strict;
>  use warnings;

> -use JSON;
> -use LWP::Simple;
> +use JSON qw(decode_json);
>  use Cwd qw(abs_path);
>  use File::Basename qw(dirname);
diff mbox series

Patch

diff --git a/docparse/testinfo.pl b/docparse/testinfo.pl
index b636b3c0e..b5ab02bc1 100755
--- a/docparse/testinfo.pl
+++ b/docparse/testinfo.pl
@@ -6,8 +6,7 @@ 
 use strict;
 use warnings;
 
-use JSON;
-use LWP::Simple;
+use JSON qw(decode_json);
 use Cwd qw(abs_path);
 use File::Basename qw(dirname);