add CHANGELGOG, and make "-x" work harder to shut down immediately.

This commit is contained in:
holger krekel
2010-01-18 13:49:35 +01:00
parent 4594e5dbd8
commit b8ea732fb0
5 changed files with 30 additions and 7 deletions

View File

@@ -74,8 +74,11 @@ class TXNode(object):
def sendlist(self, itemlist):
self.channel.send(itemlist)
def shutdown(self):
self.channel.send(None)
def shutdown(self, kill=False):
if kill:
self.gateway.exit()
else:
self.channel.send(None)
# setting up slave code
def install_slave(gateway, config):