Browse code

Hide the action key details after password confimation.(bug 1710780)

Change-Id: I6cd648b649a6a7cde28dbed3163f1c9b9f00f79b
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1441
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sharath George

xiaolin-vmware authored on 2016/09/22 09:13:26
Showing 1 changed files
... ...
@@ -198,7 +198,6 @@ class IsoInstaller(object):
198 198
 
199 199
         self.maxy,  self.maxx = self.screen.getmaxyx()
200 200
         self.screen.addstr(self.maxy - 1, 0, '<Tab> moves; <Space> selects; <Enter> forward')
201
-
202 201
         curses.curs_set(0)
203 202
 
204 203
         self.cd_path = None;
... ...
@@ -319,6 +318,8 @@ class IsoInstaller(object):
319 319
             if result.success:
320 320
                 index += 1
321 321
                 params = result.result
322
+                if index == len(items) - 1:
323
+                    self.screen.clear()
322 324
                 if index == len(items):
323 325
                     break
324 326
             else: