Michal Novotny
2009-Sep-07 08:41 UTC
[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@redhat.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel