mirror of
				https://github.com/github/octodns.git
				synced 2024-05-11 05:55:00 +00:00 
			
		
		
		
	Add __main__ calls to main in cmds
This commit is contained in:
		@@ -51,6 +51,7 @@ class MainThreadExecutor(object):
 | 
			
		||||
        try:
 | 
			
		||||
            future.set_result(func(*args, **kwargs))
 | 
			
		||||
        except Exception as e:
 | 
			
		||||
            # TODO: get right stacktrace here
 | 
			
		||||
            future.set_exception(e)
 | 
			
		||||
        return future
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user