Author: johannes
Date: 2007-03-29 12:36:19 -0500 (Thu, 29 Mar 2007)
New Revision: 9453

Modified:
   trunk/gnue-common/src/datasources/drivers/sql/oracle/Behavior.py
Log:
Don't use string module but string-methods instead


Modified: trunk/gnue-common/src/datasources/drivers/sql/oracle/Behavior.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sql/oracle/Behavior.py    
2007-03-29 15:02:51 UTC (rev 9452)
+++ trunk/gnue-common/src/datasources/drivers/sql/oracle/Behavior.py    
2007-03-29 17:36:19 UTC (rev 9453)
@@ -28,8 +28,6 @@
 from gnue.common.datasources import GSchema
 from gnue.common.datasources.drivers import DBSIG2
 
-import string
-
 # =============================================================================
 # Behavior class
 # =============================================================================
@@ -98,7 +96,7 @@
       "  decode(owner,user,'user_','all_')||lower(table_type) table_type \n" + 
\
       "  from all_catalog \n" + \
       "  where decode(owner,user,'user_','all_')||lower(table_type) in ('%s') 
\n" \
-              % string.join(where_type,"','") + \
+              % ','.join(where_type) + \
       "  order by table_name "
 
     cursor = self.__connection.makecursor (cmd)



_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to