From 6dd451dfacdc2cf0157d2ce5e2bc0c2d606a2379 Mon Sep 17 00:00:00 2001 From: hvelarde Date: Tue, 4 Aug 2015 11:48:20 -0300 Subject: [PATCH] Ignore C901 'LDAPPluginExportImport._getExportInfo' is too complex (13) --- plone/app/ldap/ploneldap/exportimport.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plone/app/ldap/ploneldap/exportimport.py b/plone/app/ldap/ploneldap/exportimport.py index 535d16e..f6c2efc 100644 --- a/plone/app/ldap/ploneldap/exportimport.py +++ b/plone/app/ldap/ploneldap/exportimport.py @@ -59,7 +59,9 @@ def getTypeStr(self, value): val_type = 'int' return val_type - def _getExportInfo(self, context): + # FIXME: C901 'LDAPPluginExportImport._getExportInfo' is too complex (13) + # https://github.com/plone/plone.app.ldap/issues/28 + def _getExportInfo(self, context): # noqa info = [] portal = context.getSite() mt = getattr(portal, 'acl_users')