 try : 
 import uwsgidecorators 
 try : <EOL> import uwsgidecorators <EOL> except ImportError : <EOL> uwsgidecorators = None <EOL> from nailgun . logger import logger <EOL> def call_task_manager_async ( klass , func , cluster_id , * args , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> if uwsgidecorators : <EOL> logger . debug ( '<STR_LIT>' , klass . __name__ , func ) <EOL> instance = klass ( cluster_id = cluster_id ) <EOL> getattr ( instance , func ) ( * args , ** kwargs ) <EOL> if uwsgidecorators : <EOL> logger . debug ( '<STR_LIT>' , klass . __name__ , func ) <EOL> if uwsgidecorators : <EOL> call_task_manager_async = uwsgidecorators . mulefunc ( call_task_manager_async ) </s>
