From d567930e64edae11aba5f225ca010c6fd4f6a5cc Mon Sep 17 00:00:00 2001 From: Sarah Pontius Date: Tue, 16 Dec 2014 09:06:59 -0700 Subject: [PATCH] VLab Issue #5682 - HLS/TCV SwIT Changes; fixes #5682 Former-commit-id: 6a09b38c03cfcd9bc1507066dac12a7aede6f146 [formerly 0bd53be33961d7fa3c73419cbc5c2e3ccb2372a9] [formerly 6a09b38c03cfcd9bc1507066dac12a7aede6f146 [formerly 0bd53be33961d7fa3c73419cbc5c2e3ccb2372a9] [formerly 734cc8a44114b41db39f55a7f585f45008ba0a14 [formerly b5a49fa57d2168e4680b0329b99733e35381eeb9]]] Former-commit-id: 734cc8a44114b41db39f55a7f585f45008ba0a14 Former-commit-id: 20f617cee981f857fc93dfefa3456bb074c28cf5 [formerly b1be1427a0e46c713449e7838c4df4ebbe8bb47d] Former-commit-id: 9a07a64666c3dabca516ab9ac9db1e5e9fba4a5f --- .../gfe/userPython/textProducts/HLSTCV_Common.py | 5 ++--- .../edex_static/base/textproducts/templates/product/HLS.py | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cave/com.raytheon.viz.gfe/localization/gfe/userPython/textProducts/HLSTCV_Common.py b/cave/com.raytheon.viz.gfe/localization/gfe/userPython/textProducts/HLSTCV_Common.py index a9063673e6..681a02cc25 100644 --- a/cave/com.raytheon.viz.gfe/localization/gfe/userPython/textProducts/HLSTCV_Common.py +++ b/cave/com.raytheon.viz.gfe/localization/gfe/userPython/textProducts/HLSTCV_Common.py @@ -1020,10 +1020,9 @@ FORECASTER STEWART""" self._loadLastTwoAdvisories() def _synchronizeAdvisories(self): - # Retrieving a directory causes synching to occur - file = LocalizationSupport.getLocalizationFile(LocalizationSupport.CAVE_STATIC, - LocalizationSupport.SITE, + file = LocalizationSupport.getLocalizationFile(LocalizationSupport.CAVE_STATIC, + LocalizationSupport.SITE, self._site, self._getAdvisoryPath()).getFile() return file diff --git a/edexOsgi/com.raytheon.edex.plugin.gfe/utility/edex_static/base/textproducts/templates/product/HLS.py b/edexOsgi/com.raytheon.edex.plugin.gfe/utility/edex_static/base/textproducts/templates/product/HLS.py index 78cb3f23c0..7c4eac70b1 100644 --- a/edexOsgi/com.raytheon.edex.plugin.gfe/utility/edex_static/base/textproducts/templates/product/HLS.py +++ b/edexOsgi/com.raytheon.edex.plugin.gfe/utility/edex_static/base/textproducts/templates/product/HLS.py @@ -371,6 +371,8 @@ class TextProduct(HLSTCV_Common.TextProduct): partsList.append('nextUpdate') partsList.append('endProduct') + self.debug_print("Product Parts partsList = %s" % partsList, 1) + return { 'partsList': partsList }