Skip to content

Commit

Permalink
update check_rosdistro to check targets.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Jun 27, 2013
1 parent 83bdde0 commit 6e131d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check_rosdistro.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def my_assert(val):
print_err("could not build the dict: %s" % (str(e)))
my_assert(False)

if 'release-name' not in ydict and not [d for d in ydict if 'fuerte' in d.keys()]:
if 'release-name' not in ydict and isinstance(ydict, dict) and 'fuerte' not in ydict.keys():
print_err("The file does not contain a 'release-name'. (Only files for Fuerte and older are supported by this script)")
else:
print_test("checking for trailing spaces...")
Expand Down

0 comments on commit 6e131d9

Please sign in to comment.