fix:wq
This commit is contained in:
parent
4f79044c0c
commit
cd502f254b
@ -3,7 +3,7 @@ import time
|
|||||||
import Event
|
import Event
|
||||||
from logger import Logger
|
from logger import Logger
|
||||||
from SimpleXMLRPCServer import SimpleXMLRPCServer
|
from SimpleXMLRPCServer import SimpleXMLRPCServer
|
||||||
|
import AdminFuncs
|
||||||
import Entry
|
import Entry
|
||||||
|
|
||||||
class LocalException(Exception):
|
class LocalException(Exception):
|
||||||
@ -30,7 +30,7 @@ class XmlRpcServer(SimpleXMLRPCServer):
|
|||||||
|
|
||||||
def export_register(self, dynid, subdomain, zone, sharedSecret, checkSum, email):
|
def export_register(self, dynid, subdomain, zone, sharedSecret, checkSum, email):
|
||||||
try:
|
try:
|
||||||
AdminFuncs.register(dynid, subdomain, zone, sharedSecret, checkSum)
|
AdminFuncs.AdminFuncs.register(dynid, subdomain, zone, sharedSecret, checkSum)
|
||||||
return 'ok'
|
return 'ok'
|
||||||
except AdminFuncs.AdminFuncException, e:
|
except AdminFuncs.AdminFuncException, e:
|
||||||
return 'not ok ' + e.msg
|
return 'not ok ' + e.msg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user