]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Small bug
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 28 Dec 2017 09:32:39 +0000 (10:32 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 28 Dec 2017 09:32:39 +0000 (10:32 +0100)
src/PyWrapping/medcoupling_pycode

index bf9fa29c0f5c0c0df88432e9d3581402f9b73933..08914fce54218665f7624bdc7284587beb038c4d 100644 (file)
@@ -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