Excerpts from Tim McNamara's message of Fri Jul 02 02:09:17 +0000 2010: > Index: src/jarabe/desktop/favoritesview.py > =================================================================== > --- a/src/jarabe/desktop/favoritesview.py > +++ b/src/jarabe/desktop/favoritesview.py > @@ -323,6 +323,12 @@ > except RegisterError, e: > alert.props.title = _('Registration Failed') > alert.props.msg = _('%s') % e > + except TypeError: > + # raised by xmlrpclib.py when XO attempts to > + # register itelf while offline: sl#2062 > + alert.props.title = _('Registration Failed') > + alert.props.msg = _('Please try connecting to '\ > + 'the network.') > else: > alert.props.title = _('Registration Successful') > alert.props.msg = _('You are now registered ' \
TypeError should be catched in jarabe.desktop.schoolserver.register_laptop() and rethrown as a RegisterError. Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/
signature.asc
Description: PGP signature
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel