[license] Added notice to all python files
This commit is contained in:
		
							parent
							
								
									7da9d5cfe1
								
							
						
					
					
						commit
						fc2c3a6b43
					
				
					 13 changed files with 52 additions and 0 deletions
				
			
		|  | @ -0,0 +1,4 @@ | |||
| # Part of accounting-api project: | ||||
| # https://gitorious.org/conservancy/accounting-api | ||||
| # License: AGPLv3-or-later | ||||
| 
 | ||||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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) | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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 | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| # Part of accounting-api project: | ||||
| # https://gitorious.org/conservancy/accounting-api | ||||
| # License: AGPLv3-or-later | ||||
| 
 | ||||
| from abc import ABCMeta, abstractmethod | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| # Part of accounting-api project: | ||||
| # https://gitorious.org/conservancy/accounting-api | ||||
| # License: AGPLv3-or-later | ||||
| 
 | ||||
| import logging | ||||
| import json | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,3 +1,7 @@ | |||
| # Part of accounting-api project: | ||||
| # https://gitorious.org/conservancy/accounting-api | ||||
| # License: AGPLv3-or-later | ||||
| 
 | ||||
| import json | ||||
| 
 | ||||
| from . import db | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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. | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Joar Wandborg
						Joar Wandborg