aboutsummaryrefslogtreecommitdiff
path: root/print/py-frescobaldi/files/patch-frescobaldi_portmidi_____init____.py
blob: b4f04a283a6e81231e18ee45455546e3d41dc88e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- frescobaldi/portmidi/__init__.py.orig	2020-12-26 10:15:52 UTC
+++ frescobaldi/portmidi/__init__.py
@@ -264,16 +264,7 @@ def _setup():
 
     """
     global pypm
-    if pypm is None:
-        for name in try_order:
-            try:
-                pypm = globals()['_do_import_' + name]()
-                break
-            except ImportError:
-                continue
-        else:
-            pypm = False
-    return bool(pypm)
+    return False
 
 def _load_module(name):
     """Loads and returns a single module.