Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit 1678c7f

Browse files
committed
33092: removed unnecessary comment
1 parent e15197f commit 1678c7f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/sage/plot/animate.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ def _gif_from_imagemagick(self, savefile=None, show_path=False,
667667
result = run(cmd, cwd=directory, capture_output=True, text=True)
668668

669669
# If a problem with the command occurs, print the log before
670-
# raising an error
670+
# raising an error (more verbose than result.check_returncode())
671671
if result.returncode:
672672
print('Command "{}" returned non-zero exit status "{}" '
673673
'(with stderr "{}" and stdout "{}").'.format(result.args,
@@ -681,9 +681,6 @@ def _gif_from_imagemagick(self, savefile=None, show_path=False,
681681
"image format. "
682682
"See www.imagemagick.org more information.")
683683

684-
# Alternate way of raising the error (less verbose)
685-
#result.check_returncode()
686-
687684
if show_path:
688685
print("Animation saved to file %s." % savefile)
689686

0 commit comments

Comments
 (0)