move copytright and license out of docstring in the comments (2)
This commit is contained in:
@@ -1,28 +1,26 @@
|
|||||||
"""\
|
# Copyright (c) 2005-2009, Donovan Preston
|
||||||
@file exc.py
|
#
|
||||||
@brief Takes an exception object and returns a dictionary suitable for use debugging the exception later.
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
|
# in the Software without restriction, including without limitation the rights
|
||||||
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in
|
||||||
|
# all copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
# THE SOFTWARE.
|
||||||
|
|
||||||
Copyright (c) 2005-2009, Donovan Preston
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
"""
|
"""
|
||||||
|
Takes an exception object and returns a dictionary suitable for use debugging the exception later.
|
||||||
|
"""
|
||||||
|
|
||||||
import linecache
|
import linecache
|
||||||
import re
|
import re
|
||||||
|
@@ -1,27 +1,24 @@
|
|||||||
"""\
|
# @author Donovan Preston
|
||||||
@file support.twisted.py
|
#
|
||||||
@author Donovan Preston
|
# Copyright (c) 2005-2006, Donovan Preston
|
||||||
|
# Copyright (c) 2007, Linden Research, Inc.
|
||||||
Copyright (c) 2005-2006, Donovan Preston
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
Copyright (c) 2007, Linden Research, Inc.
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
# in the Software without restriction, including without limitation the rights
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
in the Software without restriction, including without limitation the rights
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
# furnished to do so, subject to the following conditions:
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
#
|
||||||
furnished to do so, subject to the following conditions:
|
# The above copyright notice and this permission notice shall be included in
|
||||||
|
# all copies or substantial portions of the Software.
|
||||||
The above copyright notice and this permission notice shall be included in
|
#
|
||||||
all copies or substantial portions of the Software.
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
# THE SOFTWARE.
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import traceback
|
import traceback
|
||||||
|
@@ -1,21 +1,17 @@
|
|||||||
"""\
|
# Copyright (c) 2007, Linden Research, Inc.
|
||||||
@file tpool.py
|
# Copyright (c) 2007, IBM Corp.
|
||||||
|
#
|
||||||
Copyright (c) 2007, Linden Research, Inc.
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
Copyright (c) 2007, IBM Corp.
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
#
|
||||||
you may not use this file except in compliance with the License.
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
You may obtain a copy of the License at
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
Unless required by applicable law or agreed to in writing, software
|
# See the License for the specific language governing permissions and
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
# limitations under the License.
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import threading
|
import threading
|
||||||
|
@@ -1,27 +1,24 @@
|
|||||||
"""\
|
# @author Bob Ippolito
|
||||||
@file wsgi.py
|
#
|
||||||
@author Bob Ippolito
|
# Copyright (c) 2005-2006, Bob Ippolito
|
||||||
|
# Copyright (c) 2007, Linden Research, Inc.
|
||||||
Copyright (c) 2005-2006, Bob Ippolito
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
Copyright (c) 2007, Linden Research, Inc.
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
# in the Software without restriction, including without limitation the rights
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
in the Software without restriction, including without limitation the rights
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
# furnished to do so, subject to the following conditions:
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
#
|
||||||
furnished to do so, subject to the following conditions:
|
# The above copyright notice and this permission notice shall be included in
|
||||||
|
# all copies or substantial portions of the Software.
|
||||||
The above copyright notice and this permission notice shall be included in
|
#
|
||||||
all copies or substantial portions of the Software.
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
# THE SOFTWARE.
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import errno
|
import errno
|
||||||
import os
|
import os
|
||||||
|
@@ -1,25 +1,21 @@
|
|||||||
"""\
|
# Copyright (c) 2006-2007, Linden Research, Inc.
|
||||||
@file greenio_test.py
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
Copyright (c) 2006-2007, Linden Research, Inc.
|
# in the Software without restriction, including without limitation the rights
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
in the Software without restriction, including without limitation the rights
|
# furnished to do so, subject to the following conditions:
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
#
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
# The above copyright notice and this permission notice shall be included in
|
||||||
furnished to do so, subject to the following conditions:
|
# all copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
The above copyright notice and this permission notice shall be included in
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
all copies or substantial portions of the Software.
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
# THE SOFTWARE.
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from greentest import tests
|
from greentest import tests
|
||||||
from eventlet import api
|
from eventlet import api
|
||||||
|
@@ -1,26 +1,23 @@
|
|||||||
"""\
|
# @author Bryan O'Sullivan
|
||||||
@file httpc_test.py
|
#
|
||||||
@author Bryan O'Sullivan
|
# Copyright (c) 2007, Linden Research, Inc.
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
Copyright (c) 2007, Linden Research, Inc.
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
# in the Software without restriction, including without limitation the rights
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
in the Software without restriction, including without limitation the rights
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
# furnished to do so, subject to the following conditions:
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
#
|
||||||
furnished to do so, subject to the following conditions:
|
# The above copyright notice and this permission notice shall be included in
|
||||||
|
# all copies or substantial portions of the Software.
|
||||||
The above copyright notice and this permission notice shall be included in
|
#
|
||||||
all copies or substantial portions of the Software.
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
# THE SOFTWARE.
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import cgi
|
import cgi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user