get rid of svn keywords once and for good
[plcapi.git] / PLC / Methods / BootNotifyOwners.py
index cf4c54e..7458b9d 100644 (file)
@@ -1,6 +1,6 @@
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
-from PLC.Auth import Auth, BootAuth
+from PLC.Auth import Auth, BootAuth, SessionAuth
 from PLC.Nodes import Node, Nodes
 from PLC.Messages import Message, Messages
 
@@ -17,7 +17,7 @@ class BootNotifyOwners(Method):
     roles = ['node']
 
     accepts = [
-        Mixed(BootAuth(), SessionAuth()),
+        Auth(),
         Message.fields['message_id'],
         Parameter(int, "Notify PIs"),
         Parameter(int, "Notify technical contacts"),