list_realms: Fix the --all option.

I don't think anyone's used this in years, but it could be handy.
This commit is contained in:
Tim Abbott
2018-12-30 10:33:28 -08:00
parent 50e14dbe97
commit e48c9245ff

View File

@@ -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)))