Loading

Revision differences

Old revision #pswphv1ibNew revision #pnnxdykq8
  1    # new new new  
  2        years = sorted(set((variant.intro_date, variant.end_date) for variant in self.model_variants))  
  3  
  4    # new new  
  5        years = set()  
  6        for variant in self.model_variants:  
  7            years.add((variant.intro_date, variant.end_date))  
  8        years = sorted(years)  
  9  
1    #new  10    #new  
2        years = set()  11        years = set()  
3        for dates in [(variant.intro_date, variant.end_date) for variant in self.model_variants]:  12        for dates in [(variant.intro_date, variant.end_date) for variant in self.model_variants]: