Skip to content

Commit af92bb3

Browse files
committed
Use "jack.Status" in Status.__repr__()
See #6.
1 parent bed1f5c commit af92bb3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jack.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1798,6 +1798,7 @@ def clear(self):
17981798
while self._portlist:
17991799
self._portlist[0].unregister()
18001800

1801+
18011802
class Status(object):
18021803

18031804
"""Representation of the JACK status bits."""
@@ -1810,7 +1811,7 @@ def __repr__(self):
18101811
if not name.startswith('_') and getattr(self, name))
18111812
if not flags:
18121813
flags = "no flags set"
1813-
return "<JACK status 0x{0:x}: {1}>".format(self._code, flags)
1814+
return "<jack.Status 0x{0:x}: {1}>".format(self._code, flags)
18141815

18151816
@property
18161817
def failure(self):

0 commit comments

Comments
 (0)