From cbd61d0f61f1fe3a56c92d292647d70c94aef0cf Mon Sep 17 00:00:00 2001 From: Jimmy Berry Date: Thu, 12 Oct 2017 17:39:05 -0500 Subject: [PATCH] osclib/freeze: clear staging config during freeze as well. --- osclib/freeze_command.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osclib/freeze_command.py b/osclib/freeze_command.py index 59212b6f..df6096c6 100644 --- a/osclib/freeze_command.py +++ b/osclib/freeze_command.py @@ -14,6 +14,7 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +from osclib.config_command import ConfigCommand import time import re from xml.etree import cElementTree as ET @@ -119,6 +120,9 @@ class FreezeCommand(object): def perform(self, prj, copy_bootstrap=True): self.prj = prj + # Depending on what eventually lives in config this may need to change. + ConfigCommand(self.api).perform([prj], clear=True) + if self.api.is_adi_project(prj): src_prj = self.api.find_devel_project_from_adi_frozenlinks(self.prj) if src_prj is None: