Use name instead of field_regexp to compose find_field log message.
authorW. Trevor King <wking@drexel.edu>
Thu, 1 Jul 2010 02:43:29 +0000 (22:43 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 1 Jul 2010 02:43:29 +0000 (22:43 -0400)
sitecore/__init__.py

index b771c5dbfed7d722a8902cbce2400db69895acfd..84e3bed50617639dcee41f1c6255c93525d82db9 100755 (executable)
@@ -151,7 +151,7 @@ class SiteCoreConnection (object):
         a.send_keys(message+'\n')
 
     def find_field(self, field_regexp, name=None):
-        self.logger.info('finding %s field' % field_regexp)
+        self.logger.info('finding %s field' % name)
         # found id start by manually focusing in the element and running
         #   >>> a = s.w.switch_to_active_element()
         #   >>> a.get_attribute('id')