def elementToItem(welement):
  cats, tags = getCatTags(welement.unwrap())
  item = {
    'title': welement.title,
    'name': welement.ns('wp').post_name,
    'url': welement.link,
    'date': welement.ns('wp').post_date,
    'categories': cats,
    'tags': tags,
    'content': cleanContent(welement.ns('content').encoded),
    'type': welement.ns('wp').post_type,
    'status': 'visible'
  }
  if item['type'] == 'page':
    item['parent'] = welement.ns('wp').post_parent
    item['post_id'] = welement.ns('wp').post_id
  return item
Kill the update loop thread if there are no more WLANs using it.
dataset/ETHPy150Open DeanCutlet/filestack/wp.py/elementToItem--crossover with--dataset/ETHPy150Open coreemu/core/daemon/core/netns/vnet.py/EbtablesQueue.stopupdateloop