Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #actualizacion control de errores
- for grpd in grupos_dic:
- try:
- graph.put_wall_post(mensaje, profile_id=grpd.get('id'))
- print grpd.get('name')
- except Exception, e:
- print 'Error en la escritura del muro %s' % grpd.get('name')
- print 'ERROR:%s' % str(e)
- print '--------------------------'
- print '--------------------------'
- else:
- print 'Publicacion correcta %s' % grpd.get('name')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement