thirdparty/coverage/LICENSE
author Todd Larsen <tlarsen@google.com>
Wed, 21 Jan 2009 00:27:39 +0000
changeset 858 e79e7a22326f
parent 783 bac448165a96
permissions -rw-r--r--
Add an export() view, and implement it as text/text for Document. For every Model except Document, the public() view is displayed for any attempts to access the export() view. Currently, the permissions for export() are the same as for public(). This seems reasonable for Document, since anyone could extract the raw HTML from the page source anyway. The permissions should probably be different for other types of exports, such as vCard or iCard exports of profiles, CSV exports of lists, etc. Patch by: Todd Larsen Review by: to-be-reviewed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
783
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     1
(extracted verbatim from the end of coverage.py)
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     2
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     3
# C. COPYRIGHT AND LICENCE
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     4
#
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     5
# Copyright 2001 Gareth Rees.  All rights reserved.
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     6
# Copyright 2004-2008 Ned Batchelder.  All rights reserved.
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     7
#
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     8
# Redistribution and use in source and binary forms, with or without
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     9
# modification, are permitted provided that the following conditions are
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    10
# met:
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    11
#
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    12
# 1. Redistributions of source code must retain the above copyright
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    13
#    notice, this list of conditions and the following disclaimer.
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    14
#
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    15
# 2. Redistributions in binary form must reproduce the above copyright
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    16
#    notice, this list of conditions and the following disclaimer in the
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    17
#    documentation and/or other materials provided with the
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    18
#    distribution.
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    19
#
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    20
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    21
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    22
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    23
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    24
# HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    25
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    26
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    27
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    28
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    29
# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    30
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    31
# DAMAGE.
bac448165a96 Extract BSD license text into a separate file to make it easier to find.
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    32