|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] [PATCH] Pygrub exception trap when import fails
 
Hi all,
 this is the patch that fixes the issue when importing 'crypt' module or 
crypt.crypt fails in pygrub. The exception is written on the same line 
like "Failed!" message but only if there is an exception. If there is no 
exception, we don't bother users with details (probably the password 
they entered was wrong) so we just display "Failed!" message. Also, the 
code for hasPassword() was rewritten not to have try/except block here.
Michal
Signed-off-by: Michal Novotny <minovotn@xxxxxxxxxx>
 
 
xen-pygrub-grub-exception-trap.patch 
Description: Text Data 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-devel] [PATCH] Pygrub exception trap when import fails,
Michal Novotny <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |