From af92bb335b66b32e19ed41318ca5e04173c1e632 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Sun, 22 Feb 2015 16:25:19 +0100 Subject: [PATCH] Use "jack.Status" in Status.__repr__() See #6. --- jack.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jack.py b/jack.py index 58efe54..d235af3 100644 --- a/jack.py +++ b/jack.py @@ -1798,6 +1798,7 @@ def clear(self): while self._portlist: self._portlist[0].unregister() + class Status(object): """Representation of the JACK status bits.""" @@ -1810,7 +1811,7 @@ def __repr__(self): if not name.startswith('_') and getattr(self, name)) if not flags: flags = "no flags set" - return "".format(self._code, flags) + return "".format(self._code, flags) @property def failure(self):