Skip to content

Commit

Permalink
Rename regenerate_installer to regenerate_pkg (#177)
Browse files Browse the repository at this point in the history
* Like in ebuild, for consistency's sake.
  • Loading branch information
andre-rosa authored and allenh1 committed Apr 18, 2019
1 parent 219e271 commit fcfeb9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion superflore/generators/bitbake/gen_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
org_license = "BSD"


def regenerate_installer(
def regenerate_pkg(
overlay, pkg, distro, preserve_existing, tar_dir, md5_cache, sha256_cache
):
make_dir("{0}/recipes-ros-{1}".format(overlay.repo.repo_dir, distro.name))
Expand Down
6 changes: 3 additions & 3 deletions superflore/generators/bitbake/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from rosinstall_generator.distro import get_distro
from superflore.CacheManager import CacheManager
from superflore.generate_installers import generate_installers
from superflore.generators.bitbake.gen_packages import regenerate_installer
from superflore.generators.bitbake.gen_packages import regenerate_pkg
from superflore.generators.bitbake.ros_meta import RosMeta
from superflore.parser import get_parser
from superflore.repo_instance import RepoInstance
Expand Down Expand Up @@ -130,7 +130,7 @@ def main():
continue
info("Regenerating package '%s'..." % pkg)
try:
regenerate_installer(
regenerate_pkg(
overlay,
pkg,
get_distro(args.ros_distro),
Expand Down Expand Up @@ -159,7 +159,7 @@ def main():
generate_installers(
distro,
overlay,
regenerate_installer,
regenerate_pkg,
preserve_existing,
tar_dir,
md5_cache,
Expand Down

0 comments on commit fcfeb9f

Please # to comment.