Skip to content

Commit 9d5621e

Browse files
committed
Merge branch 'extract-wrc-extension-bug' into 'main'
Skipping archive directory entries when extracting the WRC extension See merge request weblogic-cloud/weblogic-deploy-tooling!1666
2 parents efb6fd6 + 3a87037 commit 9d5621e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/src/main/python/wlsdeploy/tool/util/archive_helper.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,10 @@ def extract_weblogic_remote_console_extension(self, extract_location=None):
360360
entries = \
361361
archive_file.getArchiveEntries(archive_entry_type)
362362
for entry in entries:
363+
# Skip directory entries, if they exist.
364+
if entry.endswith(WLSDeployArchive.ZIP_SEP):
365+
continue
366+
363367
current_entry = entry
364368

365369
if not target_location.exists() and not target_location.mkdirs():

0 commit comments

Comments
 (0)