summaryrefslogtreecommitdiffstats
path: root/checks/check-ra.py
diff options
context:
space:
mode:
Diffstat (limited to 'checks/check-ra.py')
-rwxr-xr-xchecks/check-ra.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/checks/check-ra.py b/checks/check-ra.py
index b95a1bace..95e018bff 100755
--- a/checks/check-ra.py
+++ b/checks/check-ra.py
@@ -72,8 +72,7 @@ api.finalize()
ra = api.Backend.ra
def assert_equal(trial, reference):
- keys = reference.keys()
- keys.sort()
+ keys = sorted(reference)
for key in keys:
reference_val = reference[key]
trial_val = trial[key]