fix
This commit is contained in:
parent
007f089a4e
commit
8ac7cd78c2
@ -47,9 +47,9 @@ class MyCmd(cmd.Cmd):
|
||||
raise LocalMyCmdException("illegal number of arguments")
|
||||
x = parts[0]
|
||||
if MyCmd.entries.has_key(x):
|
||||
entries[x].address = '0.0.0.0'
|
||||
entries[x].addressInDns = '0.0.0.0'
|
||||
entries[x].lastEventTime = int(time.time())
|
||||
MyCmd.entries[x].address = '0.0.0.0'
|
||||
MyCmd.entries[x].addressInDns = '0.0.0.0'
|
||||
MyCmd.entries[x].lastEventTime = int(time.time())
|
||||
self.stdout.write(str(MyCmd.entries[x]) + "\n")
|
||||
else:
|
||||
raise LocalMyCmdException("unknown dynid")
|
||||
|
Loading…
x
Reference in New Issue
Block a user