[Sugar-devel] [PATCH] fixes sl#2062

Sascha Silbe sascha-ml-ui-sugar-devel at silbe.org
Sat Jul 3 08:41:06 EDT 2010


Excerpts from Tim McNamara's message of Sat Jul 03 11:49:50 +0000 2010:

> diff --git a/src/jarabe/desktop/schoolserver.py
> b/src/jarabe/desktop/schoolserver.py
> index fc9ddeb..a05f56c 100644
> --- a/src/jarabe/desktop/schoolserver.py
> +++ b/src/jarabe/desktop/schoolserver.py
> @@ -99,7 +99,7 @@ def register_laptop(url=REGISTER_URL):
>      server = ServerProxy(url)
>      try:
>          data = server.register(sn, nick, uuid_, profile.pubkey)
> -    except (Error, socket.error):
> +    except (Error, TypeError, socket.error):
>          logging.exception('Registration: cannot connect to server')
>          raise RegisterError(_('Cannot connect to the server.'))

Reviewed-By: Sascha Silbe <sascha-pgp at silbe.org>

Thanks!

Sascha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100703/2d7ab23e/attachment.pgp 


More information about the Sugar-devel mailing list