From a16db4bae77e8ed1ea01658953f63c815f61237b Mon Sep 17 00:00:00 2001 From: Roberto Agostino Vitillo Date: Thu, 6 Mar 2014 17:34:53 +0000 Subject: [PATCH] Delete tmp directories after usage. --- wrappers/BLA.py | 2 +- wrappers/PowerGadget.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wrappers/BLA.py b/wrappers/BLA.py index 18c01c5..3bd4e28 100644 --- a/wrappers/BLA.py +++ b/wrappers/BLA.py @@ -61,5 +61,5 @@ class BLA(Wrapper): entry["Power Proc Impact"] = selection['Power Impact (W) - HuronRiver - Sandybridge - Dual Core'].sum() #TODO - #shutil.rmtree(self._directory) + shutil.rmtree(self._directory) return entry diff --git a/wrappers/PowerGadget.py b/wrappers/PowerGadget.py index b1d9c8f..839f57d 100644 --- a/wrappers/PowerGadget.py +++ b/wrappers/PowerGadget.py @@ -115,5 +115,5 @@ class PowerGadget(Wrapper): assert(summary['Processor Watt'] > 0) #TODO - #shutil.rmtree(os.path.split(self._logfile)[0]) + shutil.rmtree(os.path.split(self._logfile)[0]) return summary