add license decoration

This commit is contained in:
posativ 2012-10-18 15:05:54 +02:00
parent 54f1176249
commit f1fb80f5ef
6 changed files with 21 additions and 11 deletions

View File

@ -29,7 +29,7 @@ from itsdangerous import URLSafeTimedSerializer
from werkzeug.routing import Map, Rule
from werkzeug.serving import run_simple
from werkzeug.wrappers import Request, Response
from werkzeug.exceptions import HTTPException, NotFound, NotImplemented, InternalServerError
from werkzeug.exceptions import HTTPException, NotFound, InternalServerError
from isso import admin, comment, db, utils

View File

@ -1,3 +1,7 @@
# -*- encoding: utf-8 -*-
#
# Copyright 2012, Martin Zimmermann <info@posativ.org>. All rights reserved.
# License: BSD Style, 2 clauses. see isso/__init__.py
from werkzeug.wrappers import Response

View File

@ -1,3 +1,7 @@
# -*- encoding: utf-8 -*-
#
# Copyright 2012, Martin Zimmermann <info@posativ.org>. All rights reserved.
# License: BSD Style, 2 clauses. see isso/__init__.py
from werkzeug.wrappers import Response
from werkzeug.exceptions import abort

View File

@ -1,3 +1,7 @@
# -*- encoding: utf-8 -*-
#
# Copyright 2012, Martin Zimmermann <info@posativ.org>. All rights reserved.
# License: BSD Style, 2 clauses. see isso/__init__.py
import abc
import time

View File

@ -1,3 +1,7 @@
# -*- encoding: utf-8 -*-
#
# Copyright 2012, Martin Zimmermann <info@posativ.org>. All rights reserved.
# License: BSD Style, 2 clauses. see isso/__init__.py
import json
import time

View File

@ -1,17 +1,11 @@
# -*- encoding: utf-8 -*-
#
# Copyright 2012, Martin Zimmermann <info@posativ.org>. All rights reserved.
# License: BSD Style, 2 clauses. see isso/__init__.py
import json
from isso.models import Comment
# def prove(f):
# def dec(app, env, req, *args, **kwargs):
# pass
# def sign(response):
# pass
class IssoEncoder(json.JSONEncoder):