From 033473541c5e695c0cb6a168b0f172e97bf73b97 Mon Sep 17 00:00:00 2001 From: "Jens W. Klein" Date: Thu, 28 Jan 2021 10:54:21 +0100 Subject: [PATCH] one less deprection message: AccessControl.User has moved to AccessControl.users --- news/59.bugfix | 2 ++ src/Products/PlonePAS/tools/groups.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 news/59.bugfix diff --git a/news/59.bugfix b/news/59.bugfix new file mode 100644 index 00000000..cd78de8a --- /dev/null +++ b/news/59.bugfix @@ -0,0 +1,2 @@ +Fixes deprection message: `AccessControl.User has moved to AccessControl.users`. +[jensens] \ No newline at end of file diff --git a/src/Products/PlonePAS/tools/groups.py b/src/Products/PlonePAS/tools/groups.py index 837805af..70875d1e 100644 --- a/src/Products/PlonePAS/tools/groups.py +++ b/src/Products/PlonePAS/tools/groups.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- from AccessControl import ClassSecurityInfo -from AccessControl.User import nobody +from AccessControl.users import nobody from AccessControl.requestmethod import postonly from Acquisition import aq_base from Acquisition import aq_inner