Ignore:
Timestamp:
30/01/08 11:59:33 (13 years ago)
Author:
domlowe
Message:

more tidying of scanner

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/csmllibs/csmlbuilder.py

    r3286 r3288  
    3434            self.directory=self.selection[0] 
    3535        else: 
     36            self.selection=None 
    3637            self.directory = directory # top level directory containing data files    
    37         self.selection 
    3838        self.csmlfeaturetype  = csmlft  
    3939        self.mapping = mapping  
     
    5656            #this is caused by an incorrect directory name 
    5757            print 'error: Cannot find a config file at this location.' 
    58             sys.exit() 
     58            raise SystemExit 
    5959        #self.addSecurity() 
    6060        self.createFeatureFileMap() 
Note: See TracChangeset for help on using the changeset viewer.