(self)
Prepare deletion of group or entry
Prepare deletion of group or entry
Prepare deletion of group or entry
def pre_delete(self):
        '''Prepare deletion of group or entry'''

        if self.cur_win == 0 and self.groups:
            self.delete_group()
        elif self.cur_win == 1:
            self.delete_entry()
def pre_delete ( self ) : if self . cur_win == 0 and self . groups : self . delete_group ( ) elif self . cur_win == 1 : self . delete_entry ( )