From: W. Trevor King Date: Wed, 30 Jun 2010 16:00:37 +0000 (-0400) Subject: s.X -> self.s.X in prof/import.py X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9db86f8291b3a59002767cf3232968c1932c8d04;p=sitecorepy.git s.X -> self.s.X in prof/import.py --- 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)