From 2cd52620c88e4ff3289a5432ea8949b148825e71 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Fri, 30 Jul 2010 00:28:58 +0200 Subject: [PATCH] add getLog method to ice control objects --- pyweb/mumble/MumbleCtlIce.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyweb/mumble/MumbleCtlIce.py b/pyweb/mumble/MumbleCtlIce.py index 1cf0bea..f22f1c7 100644 --- a/pyweb/mumble/MumbleCtlIce.py +++ b/pyweb/mumble/MumbleCtlIce.py @@ -430,6 +430,9 @@ class MumbleCtlIce_118(MumbleCtlBase): def getUptime(self, srvid): return None + @protectDjangoErrPage + def getLog( self, srvid, first=0, last=100 ): + return self._getIceServerObject(srvid).getLog( first, last ) class MumbleCtlIce_120(MumbleCtlIce_118): @protectDjangoErrPage