mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
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:
parent
7eb0d63542
commit
89e2bb84e2
@ -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):
|
||||
|
@ -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
|
||||
|
@ -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']
|
||||
|
@ -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
|
||||
|
||||
|
@ -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):
|
||||
|
@ -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']
|
||||
|
@ -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
|
||||
|
@ -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']
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user