mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 18:58:01 +00:00 
			
		
		
		
	l4_cxprofile: Fix bare except clause
Signed-off-by: matthew <stidmatt@gmail.com>
This commit is contained in:
		| @@ -195,9 +195,9 @@ class L4CXProfile(LFCliBase): | ||||
|                 arguments=None, | ||||
|                 iterations=0, | ||||
|                 debug=False): | ||||
|         try: | ||||
|         if duration_sec: | ||||
|             duration_sec = LFCliBase.parse_time(duration_sec).seconds | ||||
|         except: | ||||
|         else: | ||||
|             if (duration_sec is None) or (duration_sec <= 1): | ||||
|                 raise ValueError("L4CXProfile::monitor wants duration_sec > 1 second") | ||||
|         if duration_sec <= monitor_interval: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 matthew
					matthew