def _get_status_descr_by_id(status_id):
 for (status_name, status_data) in six.iteritems(LINODE_STATUS):
  if (status_data['code'] == int(status_id)):
   return status_data['descr']
 return LINODE_STATUS.get(status_id, None)

def _get_status_descr_by_id ( status_id ) : for ( status_name , status_data ) in six . iteritems ( LINODE_STATUS ) : if ( status_data [ 'code' ] == int ( status_id ) ) : return status_data [ 'descr' ] return LINODE_STATUS . get ( status_id , None )
return linode status by id status_id linode vm status id .