fix: better leader support
This commit is contained in:
parent
093819f051
commit
fb0d9c9d22
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ class TiramisuCmdlineParser(ArgumentParser):
|
||||||
# no follower found, search if there is a symlink
|
# no follower found, search if there is a symlink
|
||||||
for sobj in config.list(uncalculated=True):
|
for sobj in config.list(uncalculated=True):
|
||||||
try:
|
try:
|
||||||
if sobj.issymlinkoption() and sobj.option().isleader():
|
if sobj.issymlinkoption() and sobj.index is None and sobj.option().isleader():
|
||||||
yield sobj, None, None
|
yield sobj, None, None
|
||||||
except ConfigError:
|
except ConfigError:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue