mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	gen_cxprofile: Fix mutable default arguments error
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
		@@ -277,7 +277,9 @@ class GenCXProfile(LFCliBase):
 | 
			
		||||
            })
 | 
			
		||||
        time.sleep(sleep_time)
 | 
			
		||||
 | 
			
		||||
    def create(self, ports=[], sleep_time=.5, debug_=False, suppress_related_commands_=None):
 | 
			
		||||
    def create(self, ports=None, sleep_time=.5, debug_=False, suppress_related_commands_=None):
 | 
			
		||||
        if ports is None:
 | 
			
		||||
            ports = []
 | 
			
		||||
        if self.debug:
 | 
			
		||||
            debug_ = True
 | 
			
		||||
        post_data = []
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user