mirror of https://github.com/ansible/ansible.git
Open unarchive file in binary mode
Recent Python3 versions require open() to specify binary mode if the data is anything other than text. Python3: Use int() instead of long() in unarchive Changes long() to int() for CRC values in the unarchive module. Affects unarchiving of zip files. Since CRC values in zipfile are 32 bits the behaviour should be unchanged even in Python 2.pull/23427/head
parent
1963e506ec
commit
c7860d4d4b
Loading…
Reference in New Issue