From 6bf55c5415eab8c8e62d1c23106764bd007c75a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20H=C3=BCwe?= Date: Thu, 19 Mar 2009 13:58:04 +0000 Subject: [PATCH] - forgot the usual license stuff... --- osc/util/cpio.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/osc/util/cpio.py b/osc/util/cpio.py index 5a192bea..6794ec52 100644 --- a/osc/util/cpio.py +++ b/osc/util/cpio.py @@ -1,8 +1,25 @@ +# Copyright 2009 Marcus Huewe +# +# 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):