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:
c48964a
)
Corrected sliver_status.
author
Sandrine Avakian
<sandrine.avakian@inria.fr>
Fri, 23 Mar 2012 10:14:02 +0000
(11:14 +0100)
committer
Sandrine Avakian
<sandrine.avakian@inria.fr>
Fri, 23 Mar 2012 10:14:02 +0000
(11:14 +0100)
sfa/senslab/slabdriver.py
patch
|
blob
|
history
diff --git
a/sfa/senslab/slabdriver.py
b/sfa/senslab/slabdriver.py
index
c982ce7
..
c11e1c6
100644
(file)
--- a/
sfa/senslab/slabdriver.py
+++ b/
sfa/senslab/slabdriver.py
@@
-81,10
+81,10
@@
class SlabDriver(Driver):
# NT : not sure if we should implement this or not, but used by sface.
# NT : not sure if we should implement this or not, but used by sface.
- sl
ices
= self.GetSlices(slice_filter= slice_hrn, filter_type = 'slice_hrn')
+ sl = self.GetSlices(slice_filter= slice_hrn, filter_type = 'slice_hrn')
if len(slices) is 0:
raise SliverDoesNotExist("%s slice_hrn" % (slice_hrn))
if len(slices) is 0:
raise SliverDoesNotExist("%s slice_hrn" % (slice_hrn))
- sl = slices[0]
+
#
sl = slices[0]
print >>sys.stderr, "\r\n \r\n_____________ Sliver status urn %s hrn %s slices %s \r\n " %(slice_urn,slice_hrn,slices)
if sl['oar_job_id'] is not -1:
print >>sys.stderr, "\r\n \r\n_____________ Sliver status urn %s hrn %s slices %s \r\n " %(slice_urn,slice_hrn,slices)
if sl['oar_job_id'] is not -1: