diff --git a/ipaserver/plugins/schema.py b/ipaserver/plugins/schema.py index 9486047bb..7888c9bb5 100644 --- a/ipaserver/plugins/schema.py +++ b/ipaserver/plugins/schema.py @@ -803,11 +803,11 @@ class schema(Command): for entry in to_process: if isinstance(entry, (list, tuple)): for item in entry: - to_process.append(item) + to_process.append(item) # pylint: disable=W4701 elif isinstance(entry, dict): for key in sorted(entry.keys()): - to_process.append(key) - to_process.append(entry[key]) + to_process.append(key) # pylint: disable=W4701 + to_process.append(entry[key]) # pylint: disable=W4701 else: fingerprint.update(unicode(entry).encode('utf-8')) diff --git a/ipatests/pytest_ipa/integration/tasks.py b/ipatests/pytest_ipa/integration/tasks.py index 08544d496..560865696 100755 --- a/ipatests/pytest_ipa/integration/tasks.py +++ b/ipatests/pytest_ipa/integration/tasks.py @@ -1360,7 +1360,7 @@ def two_connected_topo(master, replicas): x = pool.pop(0) yield v, x yield w, x - grow.append((w, x)) + grow.append((w, x)) # pylint: disable=modified-iterating-list except IndexError: return