def __call__(self, prof):
name = '%s %s' % (prof.name.first_middle, prof.name.last)
self.create_prof_page(name)
- self.lock_section()
+ self.lock_section(name)
settings = [
('Degrees:', prof.degrees()),
('College:', prof.colleges()),
% (popup, current_window))
self.s.open_nav_section(name)
- def lock_section(self):
+ def lock_section(self, name):
try:
self.s.lock_section()
except NoSuchElementException, e:
- self.s.logger.info("can't lock %s (already locked?), skipping" % raw_name)
+ self.s.logger.info("can't lock %s (already locked?), skipping" % name)
def main(argv):