Browse Source

catch Ice call borking on Lenny due to IcePy's interface having changed.

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
a668717b3d
  1. 2
      pyweb/mumble/MumbleCtlIce.py

2
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." )

Loading…
Cancel
Save