diff options
Diffstat (limited to 'bin/glsa-check')
-rwxr-xr-x | bin/glsa-check | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/glsa-check b/bin/glsa-check index 8200f75b6..a3e7aa043 100755 --- a/bin/glsa-check +++ b/bin/glsa-check @@ -1,5 +1,5 @@ #!/usr/bin/python -b -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 import argparse @@ -318,9 +318,10 @@ if mode == "test": # mail mode as requested by solar if mode == "mail": - import portage.mail, socket + import socket from io import BytesIO from email.mime.text import MIMEText + import portage.mail # color doesn't make any sense for mail nocolor() |