Skip to content

Commit

Permalink
Corecting bad indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kunaltyagi committed May 6, 2021
1 parent 2b625af commit 2e5f858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rosdep2/sources_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,11 +545,11 @@ def get_source(source):
This closure uses variables from parent scope
"""
def get_additional_sources(dist_name):
distribution = get_index().distributions[dist_name]
if dist_name != ros_distro:
if ros_distro is not None:
print('Skip distro "%s" different from requested "%s"' % (dist_name, ros_distro))
return
distribution = get_index().distributions[dist_name]
if skip_eol_distros:
if distribution.get('distribution_status') == 'end-of-life':
print('Skip end-of-life distro "%s"' % dist_name)
Expand Down

0 comments on commit 2e5f858

Please sign in to comment.