Skip to content

Commit 1e89e2e

Browse files
committed
import errno as _errno
1 parent 05d6d21 commit 1e89e2e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎jack.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"""
2626
__version__ = "0.2.0"
2727

28-
import errno
28+
import errno as _errno
2929
from cffi import FFI as _FFI
3030

3131
_ffi = _FFI()
@@ -642,7 +642,7 @@ def connect(self, source, destination):
642642
destination = destination.name
643643
err = _lib.jack_connect(self._ptr, source.encode(),
644644
destination.encode())
645-
if err == errno.EEXIST:
645+
if err == _errno.EEXIST:
646646
raise JackError("Connection {0!r} -> {1!r} "
647647
"already exists".format(source, destination))
648648
_check(err,

0 commit comments

Comments
 (0)