Applying Thrift software license to Python source
authorMark Slee <mcslee@apache.org>
Thu, 1 Mar 2007 00:20:36 +0000 (00:20 +0000)
committerMark Slee <mcslee@apache.org>
Thu, 1 Mar 2007 00:20:36 +0000 (00:20 +0000)
Reviewed By: python

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665032 13f79535-47bb-0310-9956-ffa450edef68

12 files changed:
lib/py/src/TSCons.py
lib/py/src/Thrift.py
lib/py/src/__init__.py
lib/py/src/protocol/TBinaryProtocol.py
lib/py/src/protocol/TProtocol.py
lib/py/src/protocol/__init__.py
lib/py/src/server/TServer.py
lib/py/src/server/__init__.py
lib/py/src/transport/THttpClient.py
lib/py/src/transport/TSocket.py
lib/py/src/transport/TTransport.py
lib/py/src/transport/__init__.py

index 430b43f..bb0295f 100644 (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):
index 7261890..a1ec6cc 100644 (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
index 11aeca9..fd17ca9 100644 (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']
index 7fdfdda..93734d4 100644 (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
 
index dcc84ce..f7d0b34 100644 (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):
index e0c1c5e..bcc981d 100644 (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']
index 147d075..2a8d5f4 100644 (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
index f7e08be..d08db0c 100644 (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']
index 7b39b63..7410fa4 100644 (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
 
index ee429cd..63ebd47 100644 (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
 
index b8ca7b1..b655b32 100644 (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
index b45e718..4a23c84 100644 (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']