Fix pylint false positive in hbactest module

https://fedorahosted.org/freeipa/ticket/1763
This commit is contained in:
Martin Kosek 2011-09-13 13:37:32 +02:00
parent 261a41b3d4
commit a40d4d4d64

View File

@ -153,7 +153,7 @@ def convert_to_ipa_rule(rule):
if attr_name in rule:
element[4].groups = rule[attr_name]
if 'externalhost' in rule:
ipa_rule.srchosts.names.extend(rule['externalhost'])
ipa_rule.srchosts.names.extend(rule['externalhost']) #pylint: disable=E1101
return ipa_rule