1815 valtypename = type(value).__name__ |
1815 valtypename = type(value).__name__ |
1816 try: |
1816 try: |
1817 if ConfigVarTypeStrings.index(valtype) in filterList: |
1817 if ConfigVarTypeStrings.index(valtype) in filterList: |
1818 continue |
1818 continue |
1819 except ValueError: |
1819 except ValueError: |
1820 if valtype == "sip.enumtype": |
1820 if valtype in ("sip.enumtype", "sip.wrappertype"): |
1821 if ConfigVarTypeStrings.index('class') in filterList: |
1821 if ConfigVarTypeStrings.index('class') in filterList: |
1822 continue |
1822 continue |
1823 elif (valtype == "sip.methoddescriptor" or |
1823 elif (valtype == "sip.methoddescriptor" or |
1824 valtype == "method_descriptor"): |
1824 valtype == "method_descriptor"): |
1825 if ConfigVarTypeStrings.index('method') in filterList: |
1825 if ConfigVarTypeStrings.index('method') in filterList: |