Skip to content

Commit

Permalink
Remove unused argument.
Browse files Browse the repository at this point in the history
This `pkg` argument is shadowed by a local variable without first being
used.
  • Loading branch information
nuclearsandwich authored and robwoolley committed Nov 27, 2024
1 parent 9fad476 commit a8d757b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superflore/generators/ebuild/gen_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit a8d757b

Please sign in to comment.