mirror of
https://github.com/beetbox/beets.git
synced 2026-02-05 23:14:07 +01:00
El Capitan fix
This commit is contained in:
parent
ae68cedeaf
commit
9aad2115e0
2 changed files with 4 additions and 2 deletions
|
|
@ -660,8 +660,8 @@ def cpu_count():
|
|||
num = 0
|
||||
elif sys.platform == b'darwin':
|
||||
try:
|
||||
num = int(command_output([b'sysctl', b'-n', b'hw.ncpu']))
|
||||
except ValueError:
|
||||
num = int(command_output([b'/usr/sbin/sysctl', b'-n', b'hw.ncpu']))
|
||||
except (ValueError, OSError, subprocess.CalledProcessError):
|
||||
num = 0
|
||||
else:
|
||||
try:
|
||||
|
|
|
|||
|
|
@ -71,6 +71,8 @@ Fixes:
|
|||
* Fix an edge case when producing sanitized filenames where the maximum path
|
||||
length conflicted with the :ref:`replace` rules. Thanks to Ben Ockmore.
|
||||
:bug:`496` :bug:`1361`
|
||||
* Fix an incompatibility with OS X 10.11 (where ``/usr/sbin`` seems not to be
|
||||
on the user's path by default).
|
||||
|
||||
|
||||
1.3.13 (April 24, 2015)
|
||||
|
|
|
|||
Loading…
Reference in a new issue