on xenial help sign in
Make this python3 compatible
commit7b100be69f564db5b8a5dcdea872e011e2136e1b authorAlbert Astals <albert.astals@canonical.com> dateThu 17 Jul 2014, 11:58 (12 years ago) parentb8f3f48
1 file changed+3−3
tests/autopilot/unity8/shell/emulators/dash.py+3−3
tests/autopilot/unity8/shell/emulators/dash.py+3−3
@@ -68,9 +68,9 @@ class Dash(emulators.UnityEmulatorBase):
6868
6969 """
7070 scope_loader = self._get_scope_loader(scope_id)
71− print "open_scope", scope_id, scope_loader
71+ print ("open_scope", scope_id, scope_loader)
7272 if scope_loader.isCurrent:
73− print "scope_loader.isCurrent"
73+ print ("scope_loader.isCurrent")
7474 logger.info('The scope is already open.')
7575 return self._get_scope_from_loader(scope_loader)
7676 else:
@@ -85,7 +85,7 @@ class Dash(emulators.UnityEmulatorBase):
8585 'No scope found with id {0}'.format(scope_id))
8686
8787 def _get_scope_from_loader(self, loader):
88− print "_get_scope_from_loader", loader, loader.isCurrent, loader.isLoaded, loader.get_children()
88+ print ("_get_scope_from_loader", loader, loader.isCurrent, loader.isLoaded, loader.get_children())
8989 i = 0
9090 time.sleep(1)
9191 while len(loader.get_children()) < 1 and i < 5: