From 6668e43d2d67db4574e08a9d54bd80eb105c1b28 Mon Sep 17 00:00:00 2001 From: Sergey Maranchuk Date: Fri, 17 Apr 2020 22:12:06 +0300 Subject: inheriting from `object` not necessary in py3 --- docs/quick_tutorial/authorization/tutorial/resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/quick_tutorial/authorization') diff --git a/docs/quick_tutorial/authorization/tutorial/resources.py b/docs/quick_tutorial/authorization/tutorial/resources.py index b125cf083..1ee05bbba 100644 --- a/docs/quick_tutorial/authorization/tutorial/resources.py +++ b/docs/quick_tutorial/authorization/tutorial/resources.py @@ -1,7 +1,7 @@ from pyramid.authorization import Allow, Everyone -class Root(object): +class Root: __acl__ = [(Allow, Everyone, 'view'), (Allow, 'group:editors', 'edit')] -- cgit v1.2.3