This commit is contained in:
Wolfgang Hottgenroth 2009-02-20 20:44:05 +01:00
parent 4f79044c0c
commit cd502f254b

View File

@ -3,7 +3,7 @@ import time
import Event
from logger import Logger
from SimpleXMLRPCServer import SimpleXMLRPCServer
import AdminFuncs
import Entry
class LocalException(Exception):
@ -30,7 +30,7 @@ class XmlRpcServer(SimpleXMLRPCServer):
def export_register(self, dynid, subdomain, zone, sharedSecret, checkSum, email):
try:
AdminFuncs.register(dynid, subdomain, zone, sharedSecret, checkSum)
AdminFuncs.AdminFuncs.register(dynid, subdomain, zone, sharedSecret, checkSum)
return 'ok'
except AdminFuncs.AdminFuncException, e:
return 'not ok ' + e.msg