From 3b5488ae78737346dee9cf2a26d8c982dd1eb01e Mon Sep 17 00:00:00 2001
From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Thu, 27 Jun 2013 15:06:57 +0200
Subject: [PATCH] have ResolveSlices return 'expires' too

---
 PLC/Methods/ResolveSlices.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/PLC/Methods/ResolveSlices.py b/PLC/Methods/ResolveSlices.py
index 8e0d9595..6eec238c 100644
--- a/PLC/Methods/ResolveSlices.py
+++ b/PLC/Methods/ResolveSlices.py
@@ -7,8 +7,8 @@ from PLC.Slices import Slice, Slices
 class ResolveSlices(Method):
     """
     This method is similar to GetSlices, except that (1) the returned
-    columns are restricted to 'name' and 'slice_id', and (2) it
-    returns expired slices too. This method is designed to help
+    columns are restricted to 'name', 'slice_id' and 'expires', and
+    (2) it returns expired slices too. This method is designed to help
     third-party software solve slice names from their slice_id
     (e.g. PlanetFlow Central). For this reason it is accessible with
     anonymous authentication (among others).
@@ -19,6 +19,7 @@ class ResolveSlices(Method):
     applicable_fields = {
         'slice_id' : Slice.fields['slice_id'],
         'name' : Slice.fields['name'],
+        'expires': Slice.fields['expires'],
         }
 
     accepts = [
-- 
2.47.0