fix
This commit is contained in:
		@@ -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")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user