Add Copyright / License information + Documentation
[rarslave2.git] / rsutil / par2parser.py
index 6940101..572c7b1 100644 (file)
@@ -1,11 +1,35 @@
 #!/usr/bin/env python
 # vim: set ts=4 sts=4 sw=4 textwidth=92:
 
 #!/usr/bin/env python
 # vim: set ts=4 sts=4 sw=4 textwidth=92:
 
-################################################################################
-# The PAR2 Parser
+"""
+Module which holds PAR2 file parsing functions.
+
+Much of this code was borrowed from the excellent cfv project.
+See http://cfv.sourceforge.net/ for a copy.
+"""
+
+__author__    = "Ira W. Snyder (devel@irasnyder.com)"
+__copyright__ = "Copyright (c) 2006,2007 Ira W. Snyder (devel@irasnyder.com)"
+__license__   = "GNU GPL v2 (or, at your option, any later version)"
+
+#    par2parser.py -- PAR2 file parsing utility
+#
+#    Copyright (C) 2006,2007  Ira W. Snyder (devel@irasnyder.com)
 #
 #
-# This was stolen from cfv (see http://cfv.sourceforge.net/ for a copy)
-################################################################################
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
 
 import struct, errno, os, md5
 
 
 import struct, errno, os, md5