Changeset 3364

Show
Ignore:
Timestamp:
05/15/08 11:53:55 (2 months ago)
Author:
jrayers
Message:

slight modification to work better with ArcSDE geodatabase naming conventions

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/opus_core/store/esri_storage.py

    r3262 r3364  
    391391                    table_names.append(str(fc)) 
    392392                fc = fcs.Next() 
    393  
    394             return table_names 
     393             
     394            # Loop through table names and strip out any SDE specific naming 
     395            table_names_stripped = [] 
     396            for i in table_names: 
     397                x = i.split('.') 
     398                table_names_stripped.append(x[-1]) 
     399 
     400            return table_names_stripped 
    395401 
    396402        def table_exists(self, table_name):