From a25ebdccfb8f0e86417a2775f0eb04493ac8f8ad Mon Sep 17 00:00:00 2001 From: maxkoryukov Date: Sun, 20 Mar 2016 16:48:56 +0500 Subject: [PATCH] FIX: bug with fullname of `headphones.exceptions`, visible just for pyflakes... --- headphones/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/__init__.py b/headphones/__init__.py index 4b36acf7..daf067a5 100644 --- a/headphones/__init__.py +++ b/headphones/__init__.py @@ -143,7 +143,7 @@ def initialize(config_file): SOFT_CHROOT = SoftChroot(str(CONFIG.SOFT_CHROOT)) if SOFT_CHROOT.isEnabled(): logger.info("Soft-chroot enabled for dir: %s", str(CONFIG.SOFT_CHROOT)) - except exceptions.SoftChrootError as e: + except headphones.exceptions.SoftChrootError as e: logger.error("SoftChroot error: %s", e) raise e