git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5e5e37
)
fddriver: list_slices fix
author
Mohamed Larabi
<mohamed.larabi@inria.fr>
Wed, 13 Mar 2013 16:05:48 +0000
(17:05 +0100)
committer
Mohamed Larabi
<mohamed.larabi@inria.fr>
Wed, 13 Mar 2013 16:05:48 +0000
(17:05 +0100)
sfa/federica/fddriver.py
patch
|
blob
|
history
diff --git
a/sfa/federica/fddriver.py
b/sfa/federica/fddriver.py
index
368c3dc
..
96c7aa4
100644
(file)
--- a/
sfa/federica/fddriver.py
+++ b/
sfa/federica/fddriver.py
@@
-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