Conditional function use
This commit is contained in:
parent
9e942bb3a3
commit
5986173e5b
@ -491,7 +491,8 @@ def _configure_mirror(args):
|
||||
changes["source"] = "source" in args.type
|
||||
|
||||
changed = entry.update(changes, direction)
|
||||
changed = changed | _manage_filters(args, entry)
|
||||
if hasattr(args, "include_file"):
|
||||
changed = changed | _manage_filters(args, entry)
|
||||
|
||||
if changed:
|
||||
mirrors[args.name] = entry.to_dict()
|
||||
|
Loading…
Reference in New Issue
Block a user