[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 sys | ||||||
| import argparse | import argparse | ||||||
| import json | import json | ||||||
|  |  | ||||||
|  | @ -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) | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
|  |  | ||||||
|  | @ -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. | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Joar Wandborg
						Joar Wandborg