From a668717b3dbd65ea2d91703e8a0bf99baebeb6e1 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Sat, 20 Feb 2010 17:21:58 +0100 Subject: [PATCH] catch Ice call borking on Lenny due to IcePy's interface having changed. --- pyweb/mumble/MumbleCtlIce.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyweb/mumble/MumbleCtlIce.py b/pyweb/mumble/MumbleCtlIce.py index 03330d1..2e4188c 100644 --- a/pyweb/mumble/MumbleCtlIce.py +++ b/pyweb/mumble/MumbleCtlIce.py @@ -82,7 +82,7 @@ def MumbleCtlIce( connstring, slicefile=None, icesecret=None ): Ice.OperationMode.Idempotent, Ice.OperationMode.Idempotent, True, (), (), (), IcePy._t_string, () ).invoke(prx, ((), None)) - except Ice.OperationNotExistException: + except (TypeError, Ice.OperationNotExistException): if not slicefile: raise EnvironmentError( "You didn't configure a slice file. Please set the SLICE variable in settings.py." )