[license] Added notice to all python files

This commit is contained in:
Joar Wandborg 2013-12-17 15:41:30 +01:00
parent 7da9d5cfe1
commit fc2c3a6b43
13 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,4 @@
# Part of accounting-api project:
# https://gitorious.org/conservancy/accounting-api
# License: AGPLv3-or-later

View file

@ -1,3 +1,7 @@
# Part of accounting-api project:
# https://gitorious.org/conservancy/accounting-api
# License: AGPLv3-or-later
import sys import sys
import argparse import argparse
import json import json

View file

@ -1,3 +1,7 @@
# Part of accounting-api project:
# https://gitorious.org/conservancy/accounting-api
# License: AGPLv3-or-later
import os import os
LEDGER_FILE = os.environ.get('LEDGER_FILE', None) LEDGER_FILE = os.environ.get('LEDGER_FILE', None)

View file

@ -1,3 +1,7 @@
# Part of accounting-api project:
# https://gitorious.org/conservancy/accounting-api
# License: AGPLv3-or-later
from functools import wraps from functools import wraps
from flask import jsonify from flask import jsonify

View file

@ -1,3 +1,7 @@
# Part of accounting-api project:
# https://gitorious.org/conservancy/accounting-api
# License: AGPLv3-or-later
class AccountingException(Exception): class AccountingException(Exception):
''' '''
Used as a base for exceptions that are returned to the caller via the Used as a base for exceptions that are returned to the caller via the

View file

@ -1,3 +1,7 @@
# Part of accounting-api project:
# https://gitorious.org/conservancy/accounting-api
# License: AGPLv3-or-later
import sys import sys
import logging import logging
import threading import threading

View file

@ -1,3 +1,7 @@
# Part of accounting-api project:
# https://gitorious.org/conservancy/accounting-api
# License: AGPLv3-or-later
import uuid import uuid
from decimal import Decimal from decimal import Decimal

View file

@ -1,3 +1,7 @@
# Part of accounting-api project:
# https://gitorious.org/conservancy/accounting-api
# License: AGPLv3-or-later
from abc import ABCMeta, abstractmethod from abc import ABCMeta, abstractmethod

View file

@ -1,3 +1,7 @@
# Part of accounting-api project:
# https://gitorious.org/conservancy/accounting-api
# License: AGPLv3-or-later
import sys import sys
import subprocess import subprocess
import logging import logging

View file

@ -1,3 +1,7 @@
# Part of accounting-api project:
# https://gitorious.org/conservancy/accounting-api
# License: AGPLv3-or-later
import logging import logging
import json import json

View file

@ -1,3 +1,7 @@
# Part of accounting-api project:
# https://gitorious.org/conservancy/accounting-api
# License: AGPLv3-or-later
import json import json
from . import db from . import db

View file

@ -1,3 +1,7 @@
# Part of accounting-api project:
# https://gitorious.org/conservancy/accounting-api
# License: AGPLv3-or-later
from datetime import datetime from datetime import datetime
from flask import json from flask import json

View file

@ -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 This module contains the high-level webservice logic such as the Flask setup
and the Flask endpoints. and the Flask endpoints.