#NEWLINE# def prep_jid( nocache = False , passed_jid = None ) : #NEWLINE# #INDENT# '\n    Do any work necessary to prepare a JID, including sending a custom ID\n    ' #NEWLINE# return ( nocache if ( passed_jid is not None ) else salt . utils . jid . gen_jid ( ) )