Removed custom timeslot and duration to make a reservation on OAR.
[sfa.git] / sfa / rspecs / elements / versions / slabv1Timeslot.py
index a74c729..6f6b802 100644 (file)
@@ -5,10 +5,12 @@ import sys
 class Slabv1Timeslot :
     @staticmethod 
     def get_slice_timeslot(xml, filter={}):
+        timeslot = None
         print>>sys.stderr, "\r\n \r\n \t\t \t SLABV1TIMESLOT.pY >>>>>>>>>>>>>>>>>>>>>>>>>>>>> \t  get_slice_timeslot  "
         xpath = '//default:timeslot | //timeslot' 
         timeslot_elems = xml.xpath(xpath)  
         print>>sys.stderr, "\r\n \r\n \t\t \t SLABV1TIMESLOT.pY >>>>>>>>>>>>>>>>>>>>>>>>>>>>> \t  get_slice_timeslot    timeslot_elems %s"%(timeslot_elems)
+        
         for timeslot_elem in timeslot_elems:  
             timeslot = Timeslot(timeslot_elem.attrib, timeslot_elem) 
             print>>sys.stderr, "\r\n \r\n \t\t \t SLABV1TIMESLOT.pY >>>>>>>>>>>>>>>>>>>>>>>>>>>>> \t  get_slice_timeslot   timeslot  %s"%(timeslot)