/[gli]/trunk/src/GLIClientController.py
Gentoo

Diff of /trunk/src/GLIClientController.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 455 Revision 456
1""" 1"""
2Gentoo Linux Installer 2Gentoo Linux Installer
3 3
4$Id: GLIClientController.py,v 1.47 2005/03/16 06:17:35 codeman Exp $ 4$Id: GLIClientController.py,v 1.48 2005/03/29 23:54:41 agaffney Exp $
5Copyright 2004 Gentoo Technologies Inc. 5Copyright 2004 Gentoo Technologies Inc.
6 6
7Steps (based on the ClientConfiguration): 7Steps (based on the ClientConfiguration):
8 1. Load any modules? (this may have to be done manually, using a shell - not implemented) 8 1. Load any modules? (this may have to be done manually, using a shell - not implemented)
9 2. Set the root password (may need to generate one. GLIUtility.generate_random_password()) 9 2. Set the root password (may need to generate one. GLIUtility.generate_random_password())
132 self.addNotification("exception", error) 132 self.addNotification("exception", error)
133 self._install_event.clear() 133 self._install_event.clear()
134 else: 134 else:
135 break 135 break
136 136
137 # This keeps the thread running until the FE exits
138 self._install_event.clear()
139 self._install_event.wait()
140
137 def get_num_steps(self): 141 def get_num_steps(self):
138 return len(self._install_steps) 142 return len(self._install_steps)
139 143
140 def get_next_step_info(self): 144 def get_next_step_info(self):
141 return self._install_steps[(self._install_step + 1)][1] 145 return self._install_steps[(self._install_step + 1)][1]
282 try: 286 try:
283 self._notification_queue.put_nowait(notification) 287 self._notification_queue.put_nowait(notification)
284 except: 288 except:
285 # This should only ever happen if the frontend is not checking for notifications 289 # This should only ever happen if the frontend is not checking for notifications
286 pass 290 pass
287# os.kill(os.getpid(), signal.SIGUSR1)

Legend:
Removed from v.455  
changed lines
  Added in v.456

  ViewVC Help
Powered by ViewVC 1.1.20