mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-11-04 00:52:08 +00:00 
			
		
		
		
	toggle_set: Fixed code from when these were lists not sets
This commit is contained in:
		@@ -368,14 +368,14 @@ class toggle_set(set):
 | 
			
		||||
                #Enable previously disabled item
 | 
			
		||||
                if not item.startswith('~') and ('~' + item) in dest:
 | 
			
		||||
                    dest.remove('~' + item)
 | 
			
		||||
                dest.append(item)
 | 
			
		||||
                dest.add(item)
 | 
			
		||||
        return dest
 | 
			
		||||
 | 
			
		||||
    def values(self):
 | 
			
		||||
        """
 | 
			
		||||
        returns a list of enabled items.
 | 
			
		||||
        """
 | 
			
		||||
        return [item for item in self if not item.startswith('~')]
 | 
			
		||||
        return set([item for item in self if not item.startswith('~')])
 | 
			
		||||
 | 
			
		||||
    def conflicts_with(self, other):
 | 
			
		||||
        """
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user