Ludwig Nussel
7024449cd8
catch cpio errors
...
TODO: detect if returned file is XML with error code
2010-05-06 14:27:52 +02:00
Marcus Hüwe
4dc6e956c1
- yet another fix for python24...
2009-11-06 21:38:29 +00:00
Marcus Hüwe
9a8579cc35
- fix for python24
2009-11-06 19:24:36 +00:00
Pavol Rusnak
661d927d38
code cleanup
2009-10-20 14:30:15 +00:00
Marcus Hüwe
d016b3d4f0
- class CpioWrite(): use a valid file mode (default: regular file with permissions 0644)
...
- removed debug output
2009-09-09 21:25:55 +00:00
Marcus Hüwe
2300afea7e
- merged cpio.py and util/cpio.py:
...
* renamed classes to CpioRead and CpioWrite
2009-09-09 16:02:02 +00:00
Marko Jung
a02ce1389a
- fixed exception handling
2009-06-04 15:20:22 +00:00
Pavol Rusnak
e97c1de936
add more checks when working with mmap.mmap
2009-05-22 14:43:39 +00:00
Pavol Rusnak
0fa507a782
mmap.mmap works differently under windows
2009-05-20 16:42:17 +00:00
Michal Cihar
885c72af77
Fix syntax errors with Python 2.4 (bnc#500968).
2009-05-05 14:07:00 +00:00
Marcus Hüwe
9d97bcb56d
- minor fix
2009-03-19 18:25:59 +00:00
Marcus Hüwe
6bf55c5415
- forgot the usual license stuff...
2009-03-19 13:58:04 +00:00
Marcus Hüwe
ab3403380f
- added cpio archive reader. Supported formats:
...
* ascii SVR4 no CRC also called "new_ascii"
- no directory/PIPE/blk etc. support atm. Some of it might be implemented later in case I'm bored:)
- format implementation is based on src/copyin.c and src/util.c (see cpio sources)
- it is needed to investigate #477690 ("osc fetching binaries really slow")
2009-03-19 13:52:00 +00:00