From a8d757bd93794c30f06b051b05acdef844f5c3ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steven!=20Ragnar=C3=B6k?= Date: Tue, 8 Nov 2022 14:19:33 -0800 Subject: [PATCH] Remove unused argument. This `pkg` argument is shadowed by a local variable without first being used. --- superflore/generators/ebuild/gen_packages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superflore/generators/ebuild/gen_packages.py b/superflore/generators/ebuild/gen_packages.py index 915ec519..db844bef 100644 --- a/superflore/generators/ebuild/gen_packages.py +++ b/superflore/generators/ebuild/gen_packages.py @@ -121,7 +121,7 @@ def regenerate_pkg(overlay, pkg, distro, preserve_existing=False): def _gen_metadata_for_package( - distro, pkg_name, pkg, repo, ros_pkg, pkg_rosinstall + distro, pkg_name, repo, ros_pkg, pkg_rosinstall ): pkg_metadata_xml = metadata_xml() try: @@ -201,7 +201,7 @@ def __init__(self, distro, pkg_name, has_patches=False): self.metadata_xml =\ _gen_metadata_for_package(distro, pkg_name, - pkg, repo, ros_pkg, pkg_rosinstall) + repo, ros_pkg, pkg_rosinstall) self.ebuild =\ _gen_ebuild_for_package(distro, pkg_name, pkg, repo, ros_pkg, pkg_rosinstall)