Author: eevans
Date: Thu Jan 27 22:42:21 2011
New Revision: 1064342

URL: http://svn.apache.org/viewvc?rev=1064342&view=rev
Log:
CASSANDRA-2063 Python2.4-friendly imports

Patch by eevans for CASSANDRA-2063

Modified:
    cassandra/branches/cassandra-0.7/test/system/test_avro_meta.py
    cassandra/branches/cassandra-0.7/test/system/test_avro_standard.py
    cassandra/branches/cassandra-0.7/test/system/test_avro_super.py
    cassandra/branches/cassandra-0.7/test/system/test_avro_system.py
    cassandra/branches/cassandra-0.7/test/system/test_thrift_server.py

Modified: cassandra/branches/cassandra-0.7/test/system/test_avro_meta.py
URL: 
http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/test/system/test_avro_meta.py?rev=1064342&r1=1064341&r2=1064342&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/test/system/test_avro_meta.py (original)
+++ cassandra/branches/cassandra-0.7/test/system/test_avro_meta.py Thu Jan 27 
22:42:21 2011
@@ -15,7 +15,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from . import AvroTester
+from  __init__ import AvroTester
 import avro_utils
 from avro.ipc import AvroRemoteException
 

Modified: cassandra/branches/cassandra-0.7/test/system/test_avro_standard.py
URL: 
http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/test/system/test_avro_standard.py?rev=1064342&r1=1064341&r2=1064342&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/test/system/test_avro_standard.py 
(original)
+++ cassandra/branches/cassandra-0.7/test/system/test_avro_standard.py Thu Jan 
27 22:42:21 2011
@@ -15,7 +15,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from . import AvroTester
+from __init__ import AvroTester
 import avro_utils
 from time import time
 import struct

Modified: cassandra/branches/cassandra-0.7/test/system/test_avro_super.py
URL: 
http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/test/system/test_avro_super.py?rev=1064342&r1=1064341&r2=1064342&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/test/system/test_avro_super.py (original)
+++ cassandra/branches/cassandra-0.7/test/system/test_avro_super.py Thu Jan 27 
22:42:21 2011
@@ -15,7 +15,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from . import AvroTester
+from __init__ import AvroTester
 from avro.ipc import AvroRemoteException
 import avro_utils
 import time

Modified: cassandra/branches/cassandra-0.7/test/system/test_avro_system.py
URL: 
http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/test/system/test_avro_system.py?rev=1064342&r1=1064341&r2=1064342&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/test/system/test_avro_system.py (original)
+++ cassandra/branches/cassandra-0.7/test/system/test_avro_system.py Thu Jan 27 
22:42:21 2011
@@ -16,7 +16,7 @@
 # limitations under the License.
 
 import avro_utils
-from . import AvroTester
+from __init__ import AvroTester
 from avro.ipc import AvroRemoteException
 
 # cheat a little until these are moved into avro_utils.

Modified: cassandra/branches/cassandra-0.7/test/system/test_thrift_server.py
URL: 
http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/test/system/test_thrift_server.py?rev=1064342&r1=1064341&r2=1064342&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/test/system/test_thrift_server.py 
(original)
+++ cassandra/branches/cassandra-0.7/test/system/test_thrift_server.py Thu Jan 
27 22:42:21 2011
@@ -19,8 +19,8 @@
 
 import os, sys, time, struct
 
-from . import root, ThriftTester
-from . import thrift_client as client
+from __init__ import root, ThriftTester
+from __init__ import thrift_client as client
 
 from thrift.Thrift import TApplicationException
 from ttypes import *


Reply via email to