From f8422c03e8081e74c74616341654b5d2f56ba3c9 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Thu, 22 Aug 2013 22:52:29 +0200 Subject: [PATCH] reqpath is get from option, so reqpath ever exists, cannot raise AttributeError --- tiramisu/setting.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tiramisu/setting.py b/tiramisu/setting.py index 0b7551c..852e833 100644 --- a/tiramisu/setting.py +++ b/tiramisu/setting.py @@ -463,9 +463,6 @@ class Settings(object): # transitive action, force expected value = expected[0] inverse = False - except AttributeError: - raise AttributeError(_("required option not found: " - "{0}").format(reqpath)) if (not inverse and value in expected or inverse and value not in expected):