Changeset 310


Ignore:
Timestamp:
08/11/04 18:23:09 (15 years ago)
Author:
selatham
Message:

changed by selatham at 01/11/04

Location:
MiscCode/trunk/BADC_identifiers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • MiscCode/trunk/BADC_identifiers/identifiers.py

    r309 r310  
    5555        if self.base_ids.has_key(idtype): 
    5656                self.err.handleMiscError("ID type %s already exists in identifiers database %s"  %(idtype,self.ids_db)) 
    57                 return  
     57                return 
    5858        else: 
    5959                self.base_ids[idtype]=0 
     60 
     61    def displayIDs(self): 
     62        for a in self.base_ids.keys(): 
     63                print ("object type = %s, last used value = %s") %(a, self.base_ids[a]) 
     64 
Note: See TracChangeset for help on using the changeset viewer.