From 9db86f8291b3a59002767cf3232968c1932c8d04 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 30 Jun 2010 12:00:37 -0400 Subject: [PATCH] s.X -> self.s.X in prof/import.py --- sitecore/prof/import.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sitecore/prof/import.py b/sitecore/prof/import.py index 2ed57c0..128db24 100644 --- a/sitecore/prof/import.py +++ b/sitecore/prof/import.py @@ -78,13 +78,13 @@ class ProfessorAdder (object): for field_name,value in settings: if value == None: value = '' - granddad,field = s.find_field(field_name) + granddad,field = self.s.find_field(field_name) field.clear() field.send_keys(value) - #granddad,field = s.find_field('Headshot:') + #granddad,field = self.s.find_field('Headshot:') #granddad.find_element_by_link_text('Properties') # TODO, set width/height - s.publish_section('Added/updated Prof. %s' % prof.name.last) + self.s.publish_section('Added/updated Prof. %s' % prof.name.last) def create_prof_page(self, name): self.s.open_nav_section(name) -- 2.26.2