From 412ac6e12fab524b844c860c77c3a164b209f449 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 11 Aug 2015 15:18:39 -0500 Subject: [PATCH] Tweak some view config logic to avoid test failure. --- tailbone/views/roles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/roles.py b/tailbone/views/roles.py index c133e5e6..c4d7b929 100644 --- a/tailbone/views/roles.py +++ b/tailbone/views/roles.py @@ -167,7 +167,7 @@ def includeme(config): # TODO: This can finally be removed once all CRUD/index views have been # converted to use the new master view etc. settings = config.get_settings() - RolesView.old_permissions = settings['edbob.permissions'] + RolesView.old_permissions = settings.get('edbob.permissions') RolesView.defaults(config) version_defaults(config, RoleVersionView, 'role')