From: burris Date: Sat, 22 Feb 2003 07:05:49 +0000 (+0000) Subject: added license information X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0b8fd85da9d9ec060effca7ce0911305d4d2b248;p=quix0rs-apt-p2p.git added license information --- diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..1c71aeb --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,24 @@ +Unless otherwise noted, all files are released under the MIT +license, exceptions contain licensing information in them. + +Copyright (C) 2002-2003 Andrew Loewenstern + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation files +(the "Software"), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of the Software, +and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +The Software is provided "AS IS", without warranty of any kind, +express or implied, including but not limited to the warranties of +merchantability, fitness for a particular purpose and +noninfringement. In no event shall the authors or copyright holders +be liable for any claim, damages or other liability, whether in an +action of contract, tort or otherwise, arising from, out of or in +connection with the Software or the use or other dealings in the +Software. diff --git a/actions.py b/actions.py index f5d3a9f..75b0157 100644 --- a/actions.py +++ b/actions.py @@ -1,3 +1,6 @@ +## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved +# see LICENSE.txt for license information + from time import time from const import reactor diff --git a/airhook.py b/airhook.py index dc17dca..17b046e 100644 --- a/airhook.py +++ b/airhook.py @@ -1,5 +1,6 @@ ## Airhook Protocol http://airhook.org/protocol.html -## Copyright 2002, Andrew Loewenstern, All Rights Reserved +## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved +# see LICENSE.txt for license information from random import uniform as rand from struct import pack, unpack diff --git a/const.py b/const.py index 1faab28..bdd8edb 100644 --- a/const.py +++ b/const.py @@ -1,3 +1,6 @@ +## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved +# see LICENSE.txt for license information + from twisted.internet.default import SelectReactor ## twistedmatrix.com reactor = SelectReactor(installSignalHandlers=0) diff --git a/hash.py b/hash.py index 6ac97cb..441c58a 100644 --- a/hash.py +++ b/hash.py @@ -1,4 +1,5 @@ -## Copyright 2002 Andrew Loewenstern, All Rights Reserved +## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved +# see LICENSE.txt for license information from sha import sha import whrandom diff --git a/khashmir.py b/khashmir.py index b987856..ac0d2c2 100644 --- a/khashmir.py +++ b/khashmir.py @@ -1,4 +1,5 @@ -## Copyright 2002 Andrew Loewenstern, All Rights Reserved +## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved +# see LICENSE.txt for license information from const import reactor import const diff --git a/knode.py b/knode.py index 8453942..3d9c4f1 100644 --- a/knode.py +++ b/knode.py @@ -1,3 +1,6 @@ +## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved +# see LICENSE.txt for license information + from node import Node from twisted.internet.defer import Deferred from const import reactor, NULL_ID diff --git a/krpc.py b/krpc.py index 12fb4d3..63d9887 100644 --- a/krpc.py +++ b/krpc.py @@ -1,3 +1,6 @@ +## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved +# see LICENSE.txt for license information + import airhook from twisted.internet.defer import Deferred from twisted.protocols import basic diff --git a/ktable.py b/ktable.py index 05bd51c..4d4c5bb 100644 --- a/ktable.py +++ b/ktable.py @@ -1,4 +1,5 @@ -## Copyright 2002 Andrew Loewenstern, All Rights Reserved +## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved +# see LICENSE.txt for license information import time from bisect import * diff --git a/node.py b/node.py index 93e1605..3d91a89 100644 --- a/node.py +++ b/node.py @@ -1,3 +1,6 @@ +## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved +# see LICENSE.txt for license information + import hash import time from types import * diff --git a/test.py b/test.py index 4cb499e..8aee18d 100644 --- a/test.py +++ b/test.py @@ -1,3 +1,6 @@ +## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved +# see LICENSE.txt for license information + import unittest import ktable, khashmir diff --git a/test_airhook.py b/test_airhook.py index 407cf1f..0812f37 100644 --- a/test_airhook.py +++ b/test_airhook.py @@ -1,3 +1,6 @@ +## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved +# see LICENSE.txt for license information + import unittest from airhook import * from random import uniform as rand diff --git a/test_krpc.py b/test_krpc.py index 147b8bb..d7f9754 100644 --- a/test_krpc.py +++ b/test_krpc.py @@ -1,3 +1,6 @@ +## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved +# see LICENSE.txt for license information + from unittest import * from krpc import * from airhook import * diff --git a/util.py b/util.py index 633772a..7808857 100644 --- a/util.py +++ b/util.py @@ -1,3 +1,6 @@ +## Copyright 2002-2003 Andrew Loewenstern, All Rights Reserved +# see LICENSE.txt for license information + def bucket_stats(l): """given a list of khashmir instances, finds min, max, and average number of nodes in tables""" max = avg = 0