Let handler delete files when deleting upgrade

This commit is contained in:
Lance Edgar 2017-08-14 01:05:21 -05:00
parent 56910ea4c1
commit 0516d44842

View file

@ -363,6 +363,10 @@ class UpgradeView(MasterView):
return data
def delete_instance(self, upgrade):
self.handler.delete_files(upgrade)
super(UpgradeView, self).delete_instance(upgrade)
@classmethod
def defaults(cls, config):
route_prefix = cls.get_route_prefix()