Skip to content

Commit

Permalink
Merge pull request #2631 from beetbox/Fix-2622
Browse files Browse the repository at this point in the history
Do not warn about a BrokenPipeError we do consider - Fix #2622
  • Loading branch information
nathdwek authored Jul 22, 2017
2 parents c06eca7 + 8da5c0f commit 6160fa8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion beets/ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ def main(args=None):
except IOError as exc:
if exc.errno == errno.EPIPE:
# "Broken pipe". End silently.
pass
sys.stderr.close()
else:
raise
except KeyboardInterrupt:
Expand Down
5 changes: 5 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ New features:

Fixes:

* Prevent Python from warning about a ``BrokenPipeError`` being ignored even
though we do take it into account. This was an issue when using beets in
simple shell scripts.
Thanks to :user:`Azphreal`.
:bug:`2622` :bug:`2631`
* :doc:`/plugins/replaygain`: Fix a regression in the previous release related
to the new R128 tags. :bug:`2615` :bug:`2623`
* :doc:`/plugins/lyrics`: The MusixMatch backend now detect and warns
Expand Down

0 comments on commit 6160fa8

Please sign in to comment.