PEATDB/PEATApp.py
def closeAll(self):
        """close all currently opened DBs except current viewed"""

        names = self.currentDBs.keys()
        if self.DB != None:
            currproj = self.DB.meta.info['project']
        else:
            currproj = ''
        for name in names:
            if name == currproj:
                self.closeDB()
            else:
                db = self.currentDBs[name]['db']
                db.close()
                del self.currentDBs[name]
        self.updateCurrentMenu()
        return
close all currently opened DBs except current viewed
close all currently opened DBs except current viewed
close all currently opened DBs except current viewed
def closeAll(self):
        names = self.currentDBs.keys()
        if self.DB != None:
            currproj = self.DB.meta.info['project']
        else:
            currproj = ''
        for name in names:
            if name == currproj:
                self.closeDB()
            else:
                db = self.currentDBs[name]['db']
                db.close()
                del self.currentDBs[name]
        self.updateCurrentMenu()
        return
def closeAll ( self ) : names = self . currentDBs . keys ( ) if self . DB != None : currproj = self . DB . meta . info [ 'project' ] else : currproj = '' for name in names : if name == currproj : self . closeDB ( ) else : db = self . currentDBs [ name ] [ 'db' ] db . close ( ) del self . currentDBs [ name ] self . updateCurrentMenu ( ) return
close all currently opened DBs except current viewed
close all currently opened DBs except current viewed
"""close all currently opened DBs except current viewed"""
self