Ignore:
Timestamp:
27.03.2013 15:59:56 (6 years ago)
Author:
marcus
Message:
  • introduced clear keyword
File:
1 edited

Legend:

Unmodified
Added
Removed
  • SHX/trunk/SeismicHandler/modules/stations.py

    r907 r925  
    246246                            "or saved!") 
    247247 
    248     def read(self): 
     248    def read(self, clear=False): 
    249249        """ 
    250250        Init / refresh station information. 
     
    259259        data += self.__readDB(create=True) 
    260260         
     261        if clear: 
     262            self.stations = {} 
     263            self.channels = {} 
     264 
    261265        for i in data: 
    262266            if not i._name in self.stations: 
Note: See TracChangeset for help on using the changeset viewer.