mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 18:58:01 +00:00 
			
		
		
		
	l4_cxprofile Remove == None error
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
		| @@ -196,9 +196,9 @@ class L4CXProfile(LFCliBase): | ||||
|                 raise ValueError("L4CXProfile::monitor wants duration_sec > 1 second") | ||||
|             if (duration_sec <= monitor_interval): | ||||
|                 raise ValueError("L4CXProfile::monitor wants duration_sec > monitor_interval") | ||||
|         if report_file == None: | ||||
|         if report_file is None: | ||||
|             raise ValueError("Monitor requires an output file to be defined") | ||||
|         if created_cx == None: | ||||
|         if created_cx is None: | ||||
|             raise ValueError("Monitor needs a list of Layer 4 connections") | ||||
|         if (monitor_interval is None) or (monitor_interval < 1): | ||||
|             raise ValueError("L4CXProfile::monitor wants monitor_interval >= 1 second") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Matthew Stidham
					Matthew Stidham