mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 10:48:02 +00:00 
			
		
		
		
	lfcli_base: Fix whitespace
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
		| @@ -17,7 +17,6 @@ if sys.version_info[0] != 3: | ||||
|     print("This script requires Python 3") | ||||
|     exit() | ||||
|  | ||||
|  | ||||
| sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../"))) | ||||
|  | ||||
| debug_printer = pprint.PrettyPrinter(indent=2) | ||||
| @@ -30,9 +29,7 @@ if os.environ.get("LF_USE_AUTOGEN") == 1: | ||||
|     LFSession = lanforge_api.LFSession | ||||
|  | ||||
|  | ||||
|  | ||||
| class LFCliBase: | ||||
|  | ||||
|     SHOULD_RUN = 0  # indicates normal operation | ||||
|     SHOULD_QUIT = 1  # indicates to quit loops, close files, send SIGQUIT to threads and return | ||||
|     SHOULD_HALT = 2  # indicates to quit loops, send SIGABRT to threads and exit | ||||
| @@ -40,7 +37,6 @@ class LFCliBase: | ||||
|     # - LOGGING - | ||||
|     _logger = logging.getLogger(__name__) | ||||
|  | ||||
|  | ||||
|     # do not use `super(LFCLiBase,self).__init__(self, host, port, _debug) | ||||
|     # that is py2 era syntax and will force self into the host variable, making you | ||||
|     # very confused. | ||||
| @@ -63,7 +59,7 @@ class LFCliBase: | ||||
|         self.proxy = {} | ||||
|         self.adjust_proxy(_proxy_str) | ||||
|  | ||||
|         if (_local_realm is not None): | ||||
|         if _local_realm: | ||||
|             self.local_realm = _local_realm | ||||
|  | ||||
|         # if (_debug): | ||||
| @@ -517,7 +513,6 @@ class LFCliBase: | ||||
|         #     print("lfclibase::self.proxy: ") | ||||
|         #     pprint.pprint(self.proxy) | ||||
|  | ||||
|  | ||||
|     @staticmethod | ||||
|     def logg2(level="debug", mesg=None): | ||||
|         if (mesg is None) or (mesg == ""): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Matthew Stidham
					Matthew Stidham