From 28cd9ae8cfbc8c424d8764c9fc7b059937dba334 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Wed, 26 Aug 2009 19:23:49 +0200 Subject: [PATCH] fix syntax error for python2.4 (2.5 is fine) --- pyweb/mumble/mctl.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyweb/mumble/mctl.py b/pyweb/mumble/mctl.py index ff0b432..84bc386 100644 --- a/pyweb/mumble/mctl.py +++ b/pyweb/mumble/mctl.py @@ -17,7 +17,7 @@ import re -class MumbleCtlBase (): +class MumbleCtlBase (object): cache = {}; ''' abstract Ctrol Object ''' @@ -64,6 +64,9 @@ class MumbleCtlBase (): def registerPlayer(self, srvid, name, email, password): raise NotImplementedError( "mctl::registerPlayer" ); + def getRegistration(self, srvid, mumbleid): + raise NotImplementedError( "mctl::setRegistration" ); + def setRegistration(self, srvid, mumbleid, name, email, password): raise NotImplementedError( "mctl::setRegistration" );