From e48c9245ff294658c4d44d2603713b367547e9c7 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sun, 30 Dec 2018 10:33:28 -0800 Subject: [PATCH] list_realms: Fix the --all option. I don't think anyone's used this in years, but it could be handy. --- zerver/management/commands/list_realms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/management/commands/list_realms.py b/zerver/management/commands/list_realms.py index fc9f747527..bd97150762 100644 --- a/zerver/management/commands/list_realms.py +++ b/zerver/management/commands/list_realms.py @@ -64,7 +64,7 @@ Usage examples: else: print(inner_format % (key, realm_dict[key])) - for key, value in sorted(realm_dict.iteritems()): + for key, value in sorted(realm_dict.items()): if key not in identifier_attributes: if realm.deactivated: print(self.style.ERROR(inner_format % (key, value)))