From dcdd3cf98fe4704930b73d23573a117ba4dbe7a0 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 28 Dec 2017 10:32:39 +0100 Subject: [PATCH] Small bug --- src/PyWrapping/medcoupling_pycode | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PyWrapping/medcoupling_pycode b/src/PyWrapping/medcoupling_pycode index bf9fa29c0..08914fce5 100644 --- a/src/PyWrapping/medcoupling_pycode +++ b/src/PyWrapping/medcoupling_pycode @@ -43,8 +43,9 @@ def AdvancedExtensionsStr(sz=60): sts=[] for elt in AllPossibleExtensions(): isOK=elt in aext - tab[int(isOK)] sts.append(elt+" "+('{:.>%d}'%(sz-len(elt)-1)).format(' %s'%tab[isOK])) + if not isOK: + continue if "Renumb" in elt: SubExtension(AllRenumberMethods(),RenumberAvailableMethods(),pad,tab, sts) pass -- 2.39.2