fddriver: list_slices fix
authorMohamed Larabi <mohamed.larabi@inria.fr>
Wed, 13 Mar 2013 16:05:48 +0000 (17:05 +0100)
committerMohamed Larabi <mohamed.larabi@inria.fr>
Wed, 13 Mar 2013 16:05:48 +0000 (17:05 +0100)
sfa/federica/fddriver.py

index 368c3dc..96c7aa4 100644 (file)
@@ -56,7 +56,7 @@ class FdDriver (PlDriver):
     def list_slices (self, creds, options):
         # the issue is that federica returns the list of slice's urn in a string format
         # this is why this dirty hack is needed until federica fixes it. 
-        slices_str = self.shell.listSlices()['value'][1:-2]
+        slices_str = self.shell.listSlices()['value'][1:-1]
         slices_list = slices_str.split(", ")
         return slices_list