[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 argparse
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
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 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):
'''
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 logging
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
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

View file

@ -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

View file

@ -1,3 +1,7 @@
# Part of accounting-api project:
# https://gitorious.org/conservancy/accounting-api
# License: AGPLv3-or-later
import logging
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
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 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
and the Flask endpoints.