diff options
author | 2009-07-29 17:49:34 +0100 | |
---|---|---|
committer | 2009-07-29 17:49:34 +0100 | |
commit | a9f6822384c8bfa171dc266ba012678e99034ba7 (patch) | |
tree | 265fd803b8041992fdda69245565636099051020 | |
parent | uprofile with no arguments now defaults do folder (diff) | |
download | uselect-a9f6822384c8bfa171dc266ba012678e99034ba7.tar.gz uselect-a9f6822384c8bfa171dc266ba012678e99034ba7.tar.bz2 uselect-a9f6822384c8bfa171dc266ba012678e99034ba7.zip |
fixed link family bug
-rw-r--r-- | umodule.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -174,7 +174,6 @@ class Sym(Action): return options - def get_targets(self, links, option, family = []): """ Builds a nested list of targets. @@ -187,8 +186,10 @@ class Sym(Action): family.append(parent) return family else: - family = [] + for member in family: + family.pop() elif isinstance(link, list) and isinstance(link[0], int): + if option == link[0]: family.append(link) return True |