Skip to content

Commit

Permalink
Ignore C901 'LDAPPluginExportImport.extractData' is too complex (28)
Browse files Browse the repository at this point in the history
  • Loading branch information
hvelarde committed Aug 4, 2015
1 parent 6dd451d commit d6102e5
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 @@ -129,7 +129,9 @@ def importData(self, context, out):
for plugin in root.getElementsByTagName('ldapplugin'):
self.extractData(plugin, pas, out)

def extractData(self, root, pas, out):
# FIXME: C901 'LDAPPluginExportImport.extractData' is too complex (28)
# https://github.com/plone/plone.app.ldap/issues/29
def extractData(self, root, pas, out): # noqa
plug_id = str(root.getAttribute('id'))
update = root.getAttribute('update') == 'True'

Expand Down

1 comment on commit d6102e5

@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. #29

Please sign in to comment.