Skip to content

deal with __MACOSX #214

Open
Open

Description

@mschrimpf

Apple adds an additional hidden directory "__MACOSX" into the zip file which leads to the error

Traceback (most recent call last):
  File "/braintree/home/fgeiger/check_files.py", line 43, in <module>
    check_files(sys.argv[1], sys.argv[2])
  File "/braintree/home/fgeiger/check_files.py", line 22, in check_files
    check_zip_file(zip)
  File "/braintree/home/fgeiger/check_files.py", line 36, in check_zip_file
    assert (len(os.listdir(work_dir)) == 1)
AssertionError

Resolve by ignoring all hidden directories.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions