mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
/proc/bus/usb doesn't exist anymore
This commit is contained in:
parent
191ce078e7
commit
6bcbd1b42e
@ -104,7 +104,7 @@ class BuildTest(unittest.TestCase):
|
|||||||
|
|
||||||
def test_plugins(self):
|
def test_plugins(self):
|
||||||
exclusions = set()
|
exclusions = set()
|
||||||
if islinux and (not os.path.exists('/dev/bus/usb') and not os.path.exists('/proc/bus/usb')):
|
if islinux and not os.path.exists('/dev/bus/usb'):
|
||||||
# libusb fails to initialize in containers without USB subsystems
|
# libusb fails to initialize in containers without USB subsystems
|
||||||
exclusions.update(set('libusb libmtp'.split()))
|
exclusions.update(set('libusb libmtp'.split()))
|
||||||
for name in plugins:
|
for name in plugins:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user