From c34364dab24ef82ab6e181ad05a96936aa227514 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> Date: Tue, 28 Aug 2012 17:02:25 +0200 Subject: [PATCH] fix broken imports for tags management on site & person --- PLC/Methods/DeletePersonTag.py | 3 ++- PLC/Methods/DeleteSiteTag.py | 1 - PLC/Methods/UpdatePersonTag.py | 3 ++- PLC/Methods/UpdateSiteTag.py | 1 - 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PLC/Methods/DeletePersonTag.py b/PLC/Methods/DeletePersonTag.py index d8a9c8b6..6b748d3f 100644 --- a/PLC/Methods/DeletePersonTag.py +++ b/PLC/Methods/DeletePersonTag.py @@ -6,8 +6,9 @@ from PLC.Method import Method from PLC.Parameter import Parameter, Mixed from PLC.Auth import Auth -from PLC.PersonTags import PersonTag, PersonTags from PLC.Persons import Person, Persons +from PLC.TagTypes import TagType, TagTypes +from PLC.PersonTags import PersonTag, PersonTags # need to import so the core classes get decorated with caller_may_write_tag from PLC.AuthorizeHelpers import AuthorizeHelpers diff --git a/PLC/Methods/DeleteSiteTag.py b/PLC/Methods/DeleteSiteTag.py index 28eb7687..036ffda7 100644 --- a/PLC/Methods/DeleteSiteTag.py +++ b/PLC/Methods/DeleteSiteTag.py @@ -7,7 +7,6 @@ from PLC.Parameter import Parameter, Mixed from PLC.Auth import Auth from PLC.Sites import Site, Sites -from PLC.Nodes import Nodes from PLC.TagTypes import TagType, TagTypes from PLC.SiteTags import SiteTag, SiteTags diff --git a/PLC/Methods/UpdatePersonTag.py b/PLC/Methods/UpdatePersonTag.py index e038e9ad..23ab6ab9 100644 --- a/PLC/Methods/UpdatePersonTag.py +++ b/PLC/Methods/UpdatePersonTag.py @@ -6,8 +6,9 @@ from PLC.Method import Method from PLC.Parameter import Parameter, Mixed from PLC.Auth import Auth -from PLC.PersonTags import PersonTag, PersonTags from PLC.Persons import Person, Persons +from PLC.TagTypes import TagType, TagTypes +from PLC.PersonTags import PersonTag, PersonTags # need to import so the core classes get decorated with caller_may_write_tag from PLC.AuthorizeHelpers import AuthorizeHelpers diff --git a/PLC/Methods/UpdateSiteTag.py b/PLC/Methods/UpdateSiteTag.py index 77d22a5a..a5d69f4a 100644 --- a/PLC/Methods/UpdateSiteTag.py +++ b/PLC/Methods/UpdateSiteTag.py @@ -7,7 +7,6 @@ from PLC.Parameter import Parameter, Mixed from PLC.Auth import Auth from PLC.Sites import Site, Sites -from PLC.Nodes import Nodes from PLC.TagTypes import TagType, TagTypes from PLC.SiteTags import SiteTag, SiteTags -- 2.47.0