mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	Fixing some warnings which were popping up by replace is to -- and is not to !=
Minor help text fixes Improving regression_test Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
		@@ -370,7 +370,7 @@ def main():
 | 
			
		||||
      # Password (if Security is not Open)
 | 
			
		||||
      if (args.password is not None):
 | 
			
		||||
         password = args.password
 | 
			
		||||
      if (args.password is 'open'):
 | 
			
		||||
      if (args.password == 'open'):
 | 
			
		||||
         password = "[Blank]"
 | 
			
		||||
      if (args.password is None):
 | 
			
		||||
         password = "[Blank]"
 | 
			
		||||
@@ -397,9 +397,9 @@ def main():
 | 
			
		||||
 | 
			
		||||
      if (args.min_mbps is not None):
 | 
			
		||||
         min_bps = int(args.min_mbps)*1000000
 | 
			
		||||
      if (args.max_mbps is not None and args.max_mbps is not "same"):
 | 
			
		||||
      if (args.max_mbps is not None and args.max_mbps != "same"):
 | 
			
		||||
         max_bps = int(args.max_mbps)*1000000
 | 
			
		||||
      if (args.max_mbps is not None and args.max_mbps is "same"):
 | 
			
		||||
      if (args.max_mbps is not None and args.max_mbps == "same"):
 | 
			
		||||
         max_bps = args.min_mbps
 | 
			
		||||
      if (args.duration is not None):
 | 
			
		||||
         duration = (args.duration * 60)/5
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user