From fc2c3a6b4339f0fdd7fb749fa921fa26c5fdedb2 2013-12-17 14:41:30 From: Joar Wandborg Date: 2013-12-17 14:41:30 Subject: [PATCH] [license] Added notice to all python files --- diff --git a/accounting/__init__.py b/accounting/__init__.py index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..29fb54661672321184fe80fc6fbc30d553289660 100644 --- a/accounting/__init__.py +++ b/accounting/__init__.py @@ -0,0 +1,4 @@ +# Part of accounting-api project: +# https://gitorious.org/conservancy/accounting-api +# License: AGPLv3-or-later + diff --git a/accounting/client.py b/accounting/client.py index 361a00afa765354d8f70385e8904eafca1a5a31f..9c60c8e456d95d0944543282ebb9b572ffc0a874 100644 --- a/accounting/client.py +++ b/accounting/client.py @@ -1,3 +1,7 @@ +# Part of accounting-api project: +# https://gitorious.org/conservancy/accounting-api +# License: AGPLv3-or-later + import sys import argparse import json diff --git a/accounting/config.py b/accounting/config.py index 6f4243d74dd8d674d95873ca16277b133d7dba5b..ada2c702b09a0e57a43fd6402f68ddf7f7fad0dc 100644 --- a/accounting/config.py +++ b/accounting/config.py @@ -1,3 +1,7 @@ +# Part of accounting-api project: +# https://gitorious.org/conservancy/accounting-api +# License: AGPLv3-or-later + import os LEDGER_FILE = os.environ.get('LEDGER_FILE', None) diff --git a/accounting/decorators.py b/accounting/decorators.py index 6e5c1de6e8bc1d9971931872d122afb8a01b963d..c7f15955efe7eeb788b64715bf69794d5b472325 100644 --- a/accounting/decorators.py +++ b/accounting/decorators.py @@ -1,3 +1,7 @@ +# Part of accounting-api project: +# https://gitorious.org/conservancy/accounting-api +# License: AGPLv3-or-later + from functools import wraps from flask import jsonify diff --git a/accounting/exceptions.py b/accounting/exceptions.py index 694c6a616cd136ed5d991f07cf34b64298121c7e..a2e841e1fde23b131af88002c7755c52b43750a7 100644 --- a/accounting/exceptions.py +++ b/accounting/exceptions.py @@ -1,3 +1,7 @@ +# Part of accounting-api project: +# https://gitorious.org/conservancy/accounting-api +# License: AGPLv3-or-later + class AccountingException(Exception): ''' Used as a base for exceptions that are returned to the caller via the diff --git a/accounting/gtkclient.py b/accounting/gtkclient.py index aa6ca963ab664bd979d73ed8c7779c8d2d827721..be85226a7e471a0e650a1fc989759aae7ffa0d2b 100644 --- a/accounting/gtkclient.py +++ b/accounting/gtkclient.py @@ -1,3 +1,7 @@ +# Part of accounting-api project: +# https://gitorious.org/conservancy/accounting-api +# License: AGPLv3-or-later + import sys import logging import threading diff --git a/accounting/models.py b/accounting/models.py index c09dc57962b2d259cfa430756a8bb81682577343..3b48e37214579d24c088b78c6419aa10759cb231 100644 --- a/accounting/models.py +++ b/accounting/models.py @@ -1,3 +1,7 @@ +# Part of accounting-api project: +# https://gitorious.org/conservancy/accounting-api +# License: AGPLv3-or-later + import uuid from decimal import Decimal diff --git a/accounting/storage/__init__.py b/accounting/storage/__init__.py index 4985a071bc6a67b49c5f2698e6195aac4175ac86..28922c8f2af0b048c026ae984261cd7696902b75 100644 --- a/accounting/storage/__init__.py +++ b/accounting/storage/__init__.py @@ -1,3 +1,7 @@ +# Part of accounting-api project: +# https://gitorious.org/conservancy/accounting-api +# License: AGPLv3-or-later + from abc import ABCMeta, abstractmethod diff --git a/accounting/storage/ledgercli.py b/accounting/storage/ledgercli.py index b6e5e497b07cb0a3bb73eea2060c92603fcea1cc..bb7f3fa3a76226516823c6893f63bad752a4ab1d 100644 --- a/accounting/storage/ledgercli.py +++ b/accounting/storage/ledgercli.py @@ -1,3 +1,7 @@ +# Part of accounting-api project: +# https://gitorious.org/conservancy/accounting-api +# License: AGPLv3-or-later + import sys import subprocess import logging diff --git a/accounting/storage/sql/__init__.py b/accounting/storage/sql/__init__.py index c213f812ddb62491ee753d5ed896919b593dbf86..9938bc9a986a97b0a66290c11b8c8e3604ec48d7 100644 --- a/accounting/storage/sql/__init__.py +++ b/accounting/storage/sql/__init__.py @@ -1,3 +1,7 @@ +# Part of accounting-api project: +# https://gitorious.org/conservancy/accounting-api +# License: AGPLv3-or-later + import logging import json diff --git a/accounting/storage/sql/models.py b/accounting/storage/sql/models.py index 72dfab942b47b46c37b1a30adf93d3106f496c26..dbeae959b8aa234186ce2b96c44fdae9f92aa8e1 100644 --- a/accounting/storage/sql/models.py +++ b/accounting/storage/sql/models.py @@ -1,3 +1,7 @@ +# Part of accounting-api project: +# https://gitorious.org/conservancy/accounting-api +# License: AGPLv3-or-later + import json from . import db diff --git a/accounting/transport.py b/accounting/transport.py index d3970843bd17506bb59a3034f4d4ad63db1f1c1e..2e4a494ad554664058bcdf6d03e98a9e3ee09a16 100644 --- a/accounting/transport.py +++ b/accounting/transport.py @@ -1,3 +1,7 @@ +# Part of accounting-api project: +# https://gitorious.org/conservancy/accounting-api +# License: AGPLv3-or-later + from datetime import datetime from flask import json diff --git a/accounting/web.py b/accounting/web.py index f8dc7756d788a43a110e619763ee5ef83c182060..60564e09fcddc441133468b024bb86cc54ee6c73 100644 --- a/accounting/web.py +++ b/accounting/web.py @@ -1,3 +1,7 @@ +# Part of accounting-api project: +# https://gitorious.org/conservancy/accounting-api +# License: AGPLv3-or-later + ''' This module contains the high-level webservice logic such as the Flask setup and the Flask endpoints.