#granddad,field = self.s.find_field('Headshot:')
#granddad.find_element_by_link_text('Properties')
# TODO, set width/height
- self.s.publish_section('Added/updated Prof. %s' % prof.name.last)
+ try:
+ self.s.publish_section('Added/updated Prof. %s' % prof.name.last)
+ except NoSuchElementException:
+ self.s.logger.info(
+ 'Problem saving/publishing %s (locked by someone else?).'
+ ' Continuing.')
def create_prof_page(self, name):
try: