Skip to content

Commit 4d676cb

Browse files
committed
draw_graph() method is executed with try-except.
1 parent e5773c4 commit 4d676cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/dataflow_example/dataflow_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def mkMultAdd():
5050
try:
5151
df.draw_graph()
5252
except:
53-
print('Dataflow graph could not be generated.')
53+
print('Dataflow graph could not be generated.', sys.stderr)
5454

5555
return m
5656

tests/lib_dataflow_/draw_graph/lib_dataflow_draw_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def mkLed():
3535
try:
3636
df.draw_graph()
3737
except:
38-
print('Dataflow graph could not be generated.')
38+
print('Dataflow graph could not be generated.', sys.stderr)
3939

4040
return m
4141

0 commit comments

Comments
 (0)