From 0516d44842d6135ef3fdeeed00ddbb91d732f73c Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 14 Aug 2017 01:05:21 -0500 Subject: [PATCH] Let handler delete files when deleting upgrade --- tailbone/views/upgrades.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tailbone/views/upgrades.py b/tailbone/views/upgrades.py index db6e1ccf..ca4b9b35 100644 --- a/tailbone/views/upgrades.py +++ b/tailbone/views/upgrades.py @@ -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()