Some cleanup code fixes.

This commit is contained in:
Griatch 2014-04-20 18:11:41 +02:00
parent ec54de4797
commit 792b3c9282
6 changed files with 10 additions and 67 deletions

View file

@ -433,5 +433,7 @@ class ChannelDB(TypedObject):
Deletes channel while also cleaning up channelhandler
"""
super(ChannelDB, self).delete()
_GA(self, "attributes").clear()
_GA(self, "aliases").clear()
from src.comms.channelhandler import CHANNELHANDLER
CHANNELHANDLER.update()