mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 14:24:21 +08:00
Old style exceptions are Python 3 syntax errors
This commit is contained in:
committed by
Daniel Agar
parent
bc35251799
commit
41516fbd55
@@ -518,7 +518,7 @@ class OutputGraphviz(object):
|
||||
graph.edge('t_'+topic, 'm_'+module,
|
||||
color=topic_colors[topic])
|
||||
|
||||
graph.render(file_name, view=False)
|
||||
graph.render(file_name, view=False)
|
||||
|
||||
|
||||
class OutputJSON(object):
|
||||
@@ -633,6 +633,3 @@ elif args.output == 'graphviz':
|
||||
output_graphviz.write(args.file+'_pubs.fv', show_subscriptions=False, engine=engine)
|
||||
else:
|
||||
print('Error: unknown output format '+args.output)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user