Applying Thrift software license to Python source

Reviewed By: python


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665032 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Slee 2007-03-01 00:20:36 +00:00
parent 7eb0d63542
commit 89e2bb84e2
12 changed files with 99 additions and 3 deletions

View File

@ -1,3 +1,11 @@
#!/usr/bin/env python
#
# Copyright (c) 2006- Facebook
# Distributed under the Thrift Software License
#
# See accompanying file LICENSE or visit the Thrift site at:
# http://developers.facebook.com/thrift/
from SCons.Builder import Builder
def scons_env(env):

View File

@ -1,3 +1,11 @@
#!/usr/bin/env python
#
# Copyright (c) 2006- Facebook
# Distributed under the Thrift Software License
#
# See accompanying file LICENSE or visit the Thrift site at:
# http://developers.facebook.com/thrift/
class TType:
STOP = 0
VOID = 1

View File

@ -1 +1,9 @@
__all__ = ["Thrift", "TSCons"]
#!/usr/bin/env python
#
# Copyright (c) 2006- Facebook
# Distributed under the Thrift Software License
#
# See accompanying file LICENSE or visit the Thrift site at:
# http://developers.facebook.com/thrift/
__all__ = ['Thrift', 'TSCons']

View File

@ -1,3 +1,11 @@
#!/usr/bin/env python
#
# Copyright (c) 2006- Facebook
# Distributed under the Thrift Software License
#
# See accompanying file LICENSE or visit the Thrift site at:
# http://developers.facebook.com/thrift/
from TProtocol import *
from struct import pack, unpack

View File

@ -1,3 +1,11 @@
#!/usr/bin/env python
#
# Copyright (c) 2006- Facebook
# Distributed under the Thrift Software License
#
# See accompanying file LICENSE or visit the Thrift site at:
# http://developers.facebook.com/thrift/
from thrift.Thrift import *
class TProtocolException(TException):

View File

@ -1 +1,9 @@
__all__ = ["TProtocol", "TBinaryProtocol"]
#!/usr/bin/env python
#
# Copyright (c) 2006- Facebook
# Distributed under the Thrift Software License
#
# See accompanying file LICENSE or visit the Thrift site at:
# http://developers.facebook.com/thrift/
__all__ = ['TProtocol', 'TBinaryProtocol']

View File

@ -1,3 +1,11 @@
#!/usr/bin/env python
#
# Copyright (c) 2006- Facebook
# Distributed under the Thrift Software License
#
# See accompanying file LICENSE or visit the Thrift site at:
# http://developers.facebook.com/thrift/
import sys
import traceback
import threading

View File

@ -1 +1,9 @@
__all__ = ["TServer"]
#!/usr/bin/env python
#
# Copyright (c) 2006- Facebook
# Distributed under the Thrift Software License
#
# See accompanying file LICENSE or visit the Thrift site at:
# http://developers.facebook.com/thrift/
__all__ = ['TServer']

View File

@ -1,3 +1,11 @@
#!/usr/bin/env python
#
# Copyright (c) 2006- Facebook
# Distributed under the Thrift Software License
#
# See accompanying file LICENSE or visit the Thrift site at:
# http://developers.facebook.com/thrift/
from TTransport import *
from cStringIO import StringIO

View File

@ -1,3 +1,11 @@
#!/usr/bin/env python
#
# Copyright (c) 2006- Facebook
# Distributed under the Thrift Software License
#
# See accompanying file LICENSE or visit the Thrift site at:
# http://developers.facebook.com/thrift/
from TTransport import *
import socket

View File

@ -1,3 +1,11 @@
#!/usr/bin/env python
#
# Copyright (c) 2006- Facebook
# Distributed under the Thrift Software License
#
# See accompanying file LICENSE or visit the Thrift site at:
# http://developers.facebook.com/thrift/
from cStringIO import StringIO
from struct import pack,unpack
from thrift.Thrift import TException

View File

@ -1 +1,9 @@
#!/usr/bin/env python
#
# Copyright (c) 2006- Facebook
# Distributed under the Thrift Software License
#
# See accompanying file LICENSE or visit the Thrift site at:
# http://developers.facebook.com/thrift/
__all__ = ['TTransport', 'TSocket', 'THttpClient']