s.w -> self.w in sitecore/__init__.py
authorW. Trevor King <wking@drexel.edu>
Wed, 30 Jun 2010 16:04:40 +0000 (12:04 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 30 Jun 2010 16:04:40 +0000 (12:04 -0400)
sitecore/__init__.py

index f34d0cc5b0eddb70de7410cd654d7bcb8ae735da..10b3c8ad38be08224b506693b3a5459e935ab6a8 100755 (executable)
@@ -156,7 +156,7 @@ class SiteCoreConnection (object):
         #   >>> a = s.w.switch_to_active_element()
         #   >>> a.get_attribute('id')
         # FIELD*, but the number * changes between sessions/versions
-        fields = [f for f in s.w.find_elements_by_tag_name('input')
+        fields = [f for f in self.w.find_elements_by_tag_name('input')
                   if f.get_attribute('id').startswith('FIELD')]
         match = False
         for f in fields: