Loading

Revision differences

Old revision #p0bkppph9New revision #pjsb52s6w
  1    # new new 2  
  2        years = set()  
  3        for variant in self.model_variants:  
  4            years.add(variant.intro_date)  
  5            years.add(variant.end_date)  
  6        years = sorted(years)  
  7  
  8  
1    # new new new  9    # new new new  
2        years = sorted((variant.intro_date, variant.end_date) for variant in self.model_variants)  2        years = sorted(set((variant.intro_date, variant.end_date) for variant in self.model_variants))
3  11  
4    # new new  12    # new new  
5        years = set()  13        years = set()