Re: [PATCH] lib/*: Fix useless-return
Aaron Bauman <[email protected]>
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Message-ID | <20200807190225.GA10083@bubba> |
On Fri, Aug 07, 2020 at 12:28:04PM -0400, Aaron Bauman wrote: > * Python implies such things. Let's drop 'em and be consistent. > > Signed-off-by: Aaron Bauman <[email protected]> > --- > "\\" | 20 ++++++++++++++++++++ > lib/_emerge/EbuildPhase.py | 6 +++--- > lib/_emerge/resolver/output.py | 5 ----- > lib/portage/elog/mod_custom.py | 1 - > lib/portage/elog/mod_echo.py | 4 ++-- > lib/portage/elog/mod_mail.py | 2 -- > lib/portage/glsa.py | 3 --- > lib/portage/mail.py | 1 - > lib/portage/sync/controller.py | 3 +-- > lib/portage/util/whirlpool.py | 2 -- > pylintrc | 1 + > 11 files changed, 27 insertions(+), 21 deletions(-) > create mode 100644 "\\" > > diff --git "a/\\" "b/\\" > new file mode 100644 > index 000000000..aaf1d3b1b > --- /dev/null > +++ "b/\\" > @@ -0,0 +1,20 @@ > +# elog/mod_custom.py - elog dispatch module > +# Copyright 2006-2020 Gentoo Authors > +# Distributed under the terms of the GNU General Public License v2 > + > +import portage.elog.mod_save > +import portage.exception > +import portage.process > + > +def process(mysettings, key, logentries, fulltext): > + elogfilename = portage.elog.mod_save.process(mysettings, key, logentries, fulltext) > + > if not isinstance(source, bytes): > @@ -777,7 +776,6 @@ def processBuffer(ctx): [snip] Please disregard. Sending new patch. -- Cheers, Aaron
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEDA48qNrrn8VVVcst4yp5f7HQy3AFAl8tpUEACgkQ4yp5f7HQ y3D5qQf+PP3DM+DJ34LJNyodf2Q8OResUOI3txG1PMTErQxitIpne/XQXgGzn8da tRettMtpPPizECIRKXFLsBtaL1/ctJfcoeAeBIUYVE5CpfT2lhAIOXqXh96XDqIT oyrO0aArZ0gZFZH5CPUVIWQLln0wHR0VR3qDFCsHUXumDSe6ttAN2FrKEB+IFbtp Bfbjnv5101y2ryofCb+DhmDiVTcH4KYG5HkiDes/AkEKueWYR7vpsOLSfLGanuAU 1rD4CcUgihbOBjedZFDnzlEAkBhZzJSLFMr6IJTIFLP8umU3c5aFDv8w12SbPjlz JipYTLI0ETr7ckmiPAshGQoAmeEKHw== =TYEw -----END PGP SIGNATURE-----