Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ def zip_contents_from_dir(dirPath, lang):

for filename in files:
absname = os.path.abspath(os.path.join(dirname, filename))

if os.path.islink(absname):
logger.warning("Skipping symbolic link: %s", absname)
Comment thread
danielw5 marked this conversation as resolved.
Outdated
continue

Comment thread
danielw5 marked this conversation as resolved.
Outdated
arcname = absname[len(abs_src) + 1:]
zf.write(absname, arcname)
Comment thread
danielw5 marked this conversation as resolved.

Expand Down
Loading