From 727e8e86cae48ef3d885d5dbb395df8b4075c5dd Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Fri, 18 Jan 2019 14:10:08 +0100 Subject: [PATCH] symlink support --- tiramisu_cmdline_parser.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tiramisu_cmdline_parser.py b/tiramisu_cmdline_parser.py index 1730be1..31cc8e5 100644 --- a/tiramisu_cmdline_parser.py +++ b/tiramisu_cmdline_parser.py @@ -206,8 +206,7 @@ class TiramisuCmdlineParser(ArgumentParser): elif option.type() == 'int': kwargs['type'] = int elif option.issymlinkoption(): - option = option.impl_getopt() - actions[option.impl_getname()][0].insert(0, args[0]) + actions[option.name(follow_symlink=True)][0].insert(0, args[0]) continue elif option.type() == 'choice': kwargs['choices'] = obj.value.list()