(old, new)
| 50 | |
| 51 | |
| 52 | def compare_settings(old, new): |
| 53 | for key in sorted(tuple(set(old) | set(new))): |
| 54 | if key not in old: |
| 55 | old[key] = "missing" |
| 56 | if key not in new: |
| 57 | new[key] = "missing" |
| 58 | |
| 59 | for key in sorted(old): |
| 60 | if old[key].startswith('@') and old[key].endswith('@'): |
| 61 | # Skip predefined values |
| 62 | continue |
| 63 | if old[key] != new[key]: |
| 64 | print(f"{key} {old[key]} -> {new[key]}") |
| 65 | |
| 66 | |
| 67 | if __name__ == '__main__': |
no test coverage detected