mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-27 15:06:15 +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 os
|
||||
import stat
|
||||
import struct
|
||||
|
||||
# format implementation is based on src/copyin.c and src/util.c (see cpio sources)
|
||||
|
||||
class CpioError(Exception):
|
||||
"""base class for all cpio related errors"""
|
||||
def __init__(self, fn, msg):
|
||||
|
Loading…
Reference in New Issue
Block a user