mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 12:52:54 +00:00 
			
		
		
		
	Rename TFWENV and TAOENV constants to use capital letters
This commit is contained in:
		@@ -3,11 +3,11 @@ from xmlrpc.client import Fault as SupervisorFault
 | 
			
		||||
from contextlib import suppress
 | 
			
		||||
from os import remove
 | 
			
		||||
 | 
			
		||||
from tfw.config import tfwenv
 | 
			
		||||
from tfw.config import TFWENV
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class SupervisorMixin:
 | 
			
		||||
    supervisor = xmlrpc.client.ServerProxy(tfwenv.SUPERVISOR_HTTP_URI).supervisor
 | 
			
		||||
    supervisor = xmlrpc.client.ServerProxy(TFWENV.SUPERVISOR_HTTP_URI).supervisor
 | 
			
		||||
 | 
			
		||||
    def stop_process(self, process_name):
 | 
			
		||||
        with suppress(SupervisorFault):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user