mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-05 10:58:07 +01:00
- forgot the usual license stuff...
This commit is contained in:
parent
ab3403380f
commit
6bf55c5415
@ -1,8 +1,25 @@
|
|||||||
|
# Copyright 2009 Marcus Huewe <suse-tux@gmx.de>
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License version 2
|
||||||
|
# as published by the Free Software Foundation;
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
|
||||||
import mmap
|
import mmap
|
||||||
import os
|
import os
|
||||||
import stat
|
import stat
|
||||||
import struct
|
import struct
|
||||||
|
|
||||||
|
# format implementation is based on src/copyin.c and src/util.c (see cpio sources)
|
||||||
|
|
||||||
class CpioError(Exception):
|
class CpioError(Exception):
|
||||||
"""base class for all cpio related errors"""
|
"""base class for all cpio related errors"""
|
||||||
def __init__(self, fn, msg):
|
def __init__(self, fn, msg):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user