git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
force import of AuthorizeHelpers
[plcapi.git]
/
PLC
/
Methods
/
AddInterfaceTag.py
diff --git
a/PLC/Methods/AddInterfaceTag.py
b/PLC/Methods/AddInterfaceTag.py
index
56d232b
..
b02b484
100644
(file)
--- a/
PLC/Methods/AddInterfaceTag.py
+++ b/
PLC/Methods/AddInterfaceTag.py
@@
-12,6
+12,9
@@
from PLC.Interfaces import Interface, Interfaces
from PLC.TagTypes import TagType, TagTypes
from PLC.InterfaceTags import InterfaceTag, InterfaceTags
from PLC.TagTypes import TagType, TagTypes
from PLC.InterfaceTags import InterfaceTag, InterfaceTags
+# need to import so the core classes get decorated with caller_may_write_tag
+from PLC.AuthorizeHelpers import AuthorizeHelpers
+
class AddInterfaceTag(Method):
"""
Sets the specified setting for the specified interface
class AddInterfaceTag(Method):
"""
Sets the specified setting for the specified interface