Created
June 6, 2019 11:20
-
-
Save caiaffa/0de4d009ed8de8c8fd54a3975134a044 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def map_paramiko_log_methods(respective_method, module) -> None: | |
for each_class in map(module.__dict__.get, module.__all__): | |
if hasattr(each_class, '_log'): | |
each_class._log = respective_method | |
def log_wrapper(*args, **kwargs): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment