def post_hook(config):
 cmd = config.post_hook
 if (config.verb == 'renew'):
  if (cmd and (cmd not in post_hook.eventually)):
   post_hook.eventually.append(cmd)
 elif cmd:
  logger.info('Running post-hook command: %s', cmd)
  _run_hook(cmd)

def post_hook ( config ) : cmd = config . post_hook if ( config . verb == 'renew' ) : if ( cmd and ( cmd not in post_hook . eventually ) ) : post_hook . eventually . append ( cmd ) elif cmd : logger . info ( 'Running post-hook command: %s' , cmd ) _run_hook ( cmd )
run post hook if defined .