Recover Squishdot posts even if something is corrupted

[ permalink ] [ download ]
#http://www.squishdot.org/990259865/


def moveall(self):

  

  oldnews = self.oldnews.data

  news = self.news

  

  for id in oldnews.keys():

    posting = oldnews[id]

    news.data[id]=posting

    if posting.meta_type=='Article':

      news.ids.insert(id)

     

  news.recatalogPostings()

  return 'DONE!'
hits counter