From: Thierry Parmentelat Date: Tue, 28 Aug 2012 15:02:25 +0000 (+0200) Subject: fix broken imports for tags management on site & person X-Git-Tag: plcapi-5.1-3~1 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c34364dab24ef82ab6e181ad05a96936aa227514;p=plcapi.git fix broken imports for tags management on site & person --- 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