From 112ed64d40342101e8d7a4509de173770e56b1fb Mon Sep 17 00:00:00 2001 From: Alberto Soutullo Date: Sat, 4 Mar 2023 20:57:46 +0100 Subject: [PATCH] Deleted unnecessary check --- wls-module/src/utils/files.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wls-module/src/utils/files.py b/wls-module/src/utils/files.py index 4f544ab..e83452d 100644 --- a/wls-module/src/utils/files.py +++ b/wls-module/src/utils/files.py @@ -27,10 +27,6 @@ def load_topology(topology_file): wls_logger.G_LOGGER.error('%s: %s' % (e.__doc__, e)) sys.exit() - if len(topology) == 0: - wls_logger.G_LOGGER.error('Cannot find valid topology. Aborting.') - sys.exit(1) - wls_logger.G_LOGGER.debug(topology) wls_logger.G_LOGGER.info('Topology loaded')