Skip to content

Commit c5661d0

Browse files
committed
minor refactoring
1 parent 02cba02 commit c5661d0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

core/src/main/python/wlsdeploy/tool/discover/topology_discoverer.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -838,9 +838,8 @@ def _add_library(self, server_name, classpath_name):
838838

839839
if classpath_name is None or len(classpath_name) == 0:
840840
_logger.fine('WLSDPLY-06626')
841-
return None
842-
843-
if self._is_file_to_exclude_from_archive(classpath_name):
841+
return_name = None
842+
elif self._is_file_to_exclude_from_archive(classpath_name):
844843
_logger.info('WLSDPLY-06618', classpath_name, server_name, class_name=_class_name, method_name=_method_name)
845844
return_name = self._model_context.tokenize_path(classpath_name)
846845
else:

0 commit comments

Comments
 (0)