self.w -> self.s.w in prof/import.py
authorW. Trevor King <wking@drexel.edu>
Tue, 29 Jun 2010 13:10:35 +0000 (09:10 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 29 Jun 2010 13:10:35 +0000 (09:10 -0400)
sitecore/prof/import.py

index 580bc53860a106416a283223068588414368be4b..68e781bd63f06e96ffa6497cb05d4e75fcadce83 100644 (file)
@@ -58,8 +58,8 @@ class ProfessorAdder (object):
         self.s.open_nav_section('Copy of Shyamalendu Bose')
         self.s.w.find_element_by_link_text('Copy To').click()
         time.sleep(self.s.wait_time)
-        windows = self.w.get_window_handles()
-        current_window = self.w.get_current_window_handle()
+        windows = self.s.w.get_window_handles()
+        current_window = self.s.w.get_current_window_handle()
         self.logger.info('handling copy popup %s (from %s)'
                          % (current_window, windows))
         name = self.s.find_element_by_id('Filename')