Skip to content

Commit

Permalink
Ignore C901 'LDAPPluginExportImport._getExportInfo' is too complex (13)
Browse files Browse the repository at this point in the history
  • Loading branch information
hvelarde committed Aug 4, 2015
1 parent c17ff4e commit 6dd451d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plone/app/ldap/ploneldap/exportimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

1 comment on commit 6dd451d

@hvelarde
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refs. #28

Please sign in to comment.