File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ class ListNodeOperator(AbstractNode):
1515
1616    def  _check_attributes (self , attributes ):
1717        super (ListNodeOperator , self )._check_attributes (attributes )
18-         if  not  isinstance (attributes ['list' ], List ):
18+         if  not  isinstance (attributes ['list' ], ( List ,  Sort ) ):
1919            raise  TypeError ('The “list” argument of the %s constructor ' 
20-                             'should be a List node, not %r'  % 
20+                             'should be a List or Sort  node, not %r'  % 
2121                            (self .__class__ .__name__ , attributes ['list' ]))
2222
2323class  ListOperator (AbstractNode ):
Original file line number Diff line number Diff line change 44
55setup (
66    name = 'ppp_datamodel' ,
7-     version = '0.5.18 ' ,
7+     version = '0.5.19 ' ,
88    description = 'Data model for the Projet Pensées Profondes.' ,
99    url = 'https://github.com/ProjetPP/PPP-datamodel-Python' ,
1010    author = 'Valentin Lorentz' ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments