Doesn't work for me. Simple testing results with a traceback: $ python -c
'import cpioarchive; archive = cpioarchive.CpioArchive("python3-cpio.cpio");
print([entry.name for entry in archive])'
['./usr/lib/python3.4/site-packages/cpioarchive.py',
'./usr/lib/python3.4/site-packages/python_cpio-0.1-py3.4.egg-info',
'./usr/share/doc/python3-cpio', './usr/share/doc/python3-cpio/AUTHORS',
'./usr/share/doc/python3-cpio/ChangeLog', './usr/share/doc/python3-cpio/README',
'./usr/share/doc/python3-cpio/TODO', './usr/share/licenses/python3-cpio',
'./usr/share/licenses/python3-cpio/COPYING.lib',
'./usr/lib/python3.4/site-packages/pycache/cpioarchive.cpython-34.pyc',
'./usr/lib/python3.4/site-packages/pycache/cpioarchive.cpython-34.pyo']
[vpodzime@localhost ~]$ python3 -c 'import cpioarchive; archive =
cpioarchive.CpioArchive("python3-cpio.cpio"); print([entry.name for entry in
archive])' Traceback (most recent call last): File "<string>", line 1, in
<module> File "/usr/lib/python3.4/site-packages/cpioarchive.py", line 125, in
init self._readfile(name) File
"/usr/lib/python3.4/site-packages/cpioarchive.py", line 162, in _readfile
self._readobj(open(name, 'rb')) File
"/usr/lib/python3.4/site-packages/cpioarchive.py", line 172, in _readobj
ce=CpioEntry(text, self, istart) File
"/usr/lib/python3.4/site-packages/cpioarchive.py", line 29, in init if
not hdr.startswith('070701'): TypeError: startswith first arg must be bytes or
a tuple of bytes, not str
This update has reached 51 days in testing and can be pushed to stable now if the maintainer wishes
This update has been submitted for testing by jamatos.
Taskotron: depcheck test PASSED on i386. Result log: https://taskotron.fedoraproject.org/taskmaster//builders/x86_64/builds/116573/steps/runtask/logs/stdio (results are informative only)
Taskotron: depcheck test PASSED on x86_64. Result log: https://taskotron.fedoraproject.org/taskmaster//builders/x86_64/builds/116573/steps/runtask/logs/stdio (results are informative only)
This update is currently being pushed to the Fedora 23 testing updates repository.
This update has been pushed to testing
Doesn't work for me. Simple testing results with a traceback: $ python -c 'import cpioarchive; archive = cpioarchive.CpioArchive("python3-cpio.cpio"); print([entry.name for entry in archive])' ['./usr/lib/python3.4/site-packages/cpioarchive.py', './usr/lib/python3.4/site-packages/python_cpio-0.1-py3.4.egg-info', './usr/share/doc/python3-cpio', './usr/share/doc/python3-cpio/AUTHORS', './usr/share/doc/python3-cpio/ChangeLog', './usr/share/doc/python3-cpio/README', './usr/share/doc/python3-cpio/TODO', './usr/share/licenses/python3-cpio', './usr/share/licenses/python3-cpio/COPYING.lib', './usr/lib/python3.4/site-packages/pycache/cpioarchive.cpython-34.pyc', './usr/lib/python3.4/site-packages/pycache/cpioarchive.cpython-34.pyo'] [vpodzime@localhost ~]$ python3 -c 'import cpioarchive; archive = cpioarchive.CpioArchive("python3-cpio.cpio"); print([entry.name for entry in archive])' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3.4/site-packages/cpioarchive.py", line 125, in init self._readfile(name) File "/usr/lib/python3.4/site-packages/cpioarchive.py", line 162, in _readfile self._readobj(open(name, 'rb')) File "/usr/lib/python3.4/site-packages/cpioarchive.py", line 172, in _readobj ce=CpioEntry(text, self, istart) File "/usr/lib/python3.4/site-packages/cpioarchive.py", line 29, in init if not hdr.startswith('070701'): TypeError: startswith first arg must be bytes or a tuple of bytes, not str
This update has reached 51 days in testing and can be pushed to stable now if the maintainer wishes