def _process_return_data(retData):
 if (retData.status_code == 200):
  if retData.json():
   return retData
  else:
   log.debug('no data returned from infoblox')
   return None
 else:
  msg = 'Unsuccessful error code {0} returned'.format(retData.status_code)
  raise CommandExecutionError(msg)
 return None

def _process_return_data ( retData ) : if ( retData . status_code == 200 ) : if retData . json ( ) : return retData else : log . debug ( 'no data returned from infoblox' ) return None else : msg = 'Unsuccessful error code {0} returned' . format ( retData . status_code ) raise CommandExecutionError ( msg ) return None
generic return processing .