Skip to content
Snippets Groups Projects
Commit 1b5e4df5 authored by Sebastian Ebert's avatar Sebastian Ebert
Browse files

fixed package gen for python 3

parent 5a8fd301
Branches
Tags 0.3.1
No related merge requests found
...@@ -87,7 +87,7 @@ def populate_repo(repo_path, package_type): ...@@ -87,7 +87,7 @@ def populate_repo(repo_path, package_type):
author = utils.author_name() author = utils.author_name()
repo_name = os.path.basename(repo_path) repo_name = os.path.basename(repo_path)
templates = get_templates(package_type) templates = get_templates(package_type)
for filename, template in templates.iteritems(): for filename, template in templates.items():
contents = instantiate_template(template, repo_name, author) contents = instantiate_template(template, repo_name, author)
try: try:
p = os.path.abspath(os.path.join(repo_path, filename)) p = os.path.abspath(os.path.join(repo_path, filename))
......
...@@ -18,7 +18,7 @@ def scrape_for_release_message_packages(track): ...@@ -18,7 +18,7 @@ def scrape_for_release_message_packages(track):
index = rosdistro.get_index(url) index = rosdistro.get_index(url)
cache = rosdistro.get_release_cache(index, 'kinetic') cache = rosdistro.get_release_cache(index, 'kinetic')
packages = [] packages = []
for package_name, package_string in cache.package_xmls.iteritems(): for package_name, package_string in cache.package_xmls.items():
package = catkin_pkg.package.parse_package_string(package_string) package = catkin_pkg.package.parse_package_string(package_string)
#print(" Name: %s" % package_name) #print(" Name: %s" % package_name)
#print(" Buildtool Depends %s" % package.build) #print(" Buildtool Depends %s" % package.build)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment