Skip to content

Commit 3a87037

Browse files
committed
Skipping archive directory entries when extracting the WRC extension
1 parent efb6fd6 commit 3a87037

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: core/src/main/python/wlsdeploy/tool/util/archive_helper.py

+4
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)