Skip to content

Commit

Permalink
Make realm_filters --show's empty list output more consistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
timabbott committed Feb 4, 2016
1 parent 3475a5c commit 37e987e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zerver/management/commands/realm_filters.py
Expand Up @@ -40,7 +40,7 @@ def add_arguments(self, parser):
def handle(self, *args, **options):
realm = get_realm(options["domain"])
if options["op"] == "show":
print("%s: %s" % (realm.domain, all_realm_filters().get(realm.domain, "")))
print("%s: %s" % (realm.domain, all_realm_filters().get(realm.domain, [])))
sys.exit(0)

pattern = options['pattern']
Expand Down

0 comments on commit 37e987e

Please sign in to comment.