svn keywords
[plcapi.git] / PLC / Methods / DeleteSession.py
index 545adfd..45bb861 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 import time
 
 from PLC.Method import Method
@@ -16,10 +18,11 @@ class DeleteSession(Method):
     accepts = [SessionAuth()]
     returns = Parameter(int, '1 if successful')
 
+
     def call(self, auth):
         assert auth.has_key('session')
 
-        sessions = Sessions(self.api, [auth['session']]).values()
+        sessions = Sessions(self.api, [auth['session']])
         if not sessions:
             raise PLCAPIError, "No such session"
         session = sessions[0]