Browse Source

only catch Ice exceptions

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
cffb25ac2b
  1. 4
      pyweb/mumble/management/commands/checkenv.py

4
pyweb/mumble/management/commands/checkenv.py

@ -14,7 +14,7 @@
* GNU General Public License for more details.
"""
import os
import os, Ice
from django.core.management.base import BaseCommand
from django.contrib.auth.models import User
@ -167,7 +167,7 @@ class Command( BaseCommand ):
for mumble in mm:
try:
mumble.getCtl();
except Exception, err:
except Ice.Exception, err:
raise TestFailed(
"Connecting to Murmur `%s` (%s) failed: %s" % ( mumble.name, mumble.dbus, err )
);

Loading…
Cancel
Save