Logo Search packages:      
Sourcecode: lfm version File versions  Download package

def lfm::actions::Tree::__get_node (   self,
  i,
  tn,
  td,
  base 
) [private]

expand branch

Definition at line 1681 of file actions.py.

01681                                          :
        """expand branch"""

        lst2 = []
        node = tn[i]
        dirs, expanded_node = td[node]
        if not expanded_node:
            return []
        for d in dirs:
            if d == expanded_node:
                lst2.append([d, i, os.path.join(base, d)])
                lst3 = self.__get_node(i+1, tn, td, os.path.join(base, d))
                if lst3 != None:
                    lst2.extend(lst3)
            else:
                lst2.append([d, i, os.path.join(base, d)])
        return lst2


    def get_tree(self):


Generated by  Doxygen 1.6.0   Back to index