Skip to content

Commit

Permalink
Spacing fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteMasterEric committed Apr 20, 2018
1 parent 30fc379 commit fb01aca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/rostopic/src/rostopic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1141,11 +1141,11 @@ def _sub_rostopic_list(master, pubs, subs, publishers_only, subscribers_only, ve
print('')
else:
if publishers_only:
topics = [t for t,_,_ in pubs]
topics = [t for t, _, _ in pubs]
elif subscribers_only:
topics = [t for t,_,_ in subs]
topics = [t for t, _, _ in subs]
else:
topics = list(set([t for t,_,_ in pubs] + [t for t,_,_ in subs]))
topics = list(set([t for t, _, _ in pubs] + [t for t, _, _ in subs]))
topics.sort()
print('\n'.join(["%s%s"%(indent, t) for t in topics]))

Expand Down

0 comments on commit fb01aca

Please sign in to comment.