Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

options.py: relicense to 2-clause BSD license.

At the request of a few people who would like to us it in their own
projects.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
  • Loading branch information...
commit 8953dc8d911844ae5c5764ac542811e95e592fe4 1 parent 840f15b
@apenwarr authored
Showing with 33 additions and 1 deletion.
  1. +3 −1 LICENSE
  2. +30 −0 lib/bup/options.py
View
4 LICENSE
@@ -1,6 +1,8 @@
The files in this project may all be distributed under the terms of the
-following license. In addition, bupsplit.c and bupsplit.h may be
+following license. (The LGPL version 2.)
+
+In addition, bupsplit.c, bupsplit.h, and options.py may be
redistributed according to the separate license (a BSD-style license)
written inside those files.
View
30 lib/bup/options.py
@@ -1,3 +1,33 @@
+# Copyright 2011 Avery Pennarun and options.py contributors.
+# All rights reserved.
+#
+# (This license applies to this file but not necessarily the other files in
+# this package.)
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in
+# the documentation and/or other materials provided with the
+# distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY AVERY PENNARUN ``AS IS'' AND ANY
+# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> OR
+# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
"""Command-line options parser.
With the help of an options spec string, easily parse command-line options.
Please sign in to comment.
Something went wrong with that request. Please try again.