fix brozzler-list-sites --site=SITE_ID

This commit is contained in:
Noah Levitt 2017-12-21 17:16:41 -08:00
parent 1a3e15d23b
commit daecb4f59e
2 changed files with 3 additions and 1 deletions

View file

@ -499,6 +499,8 @@ def brozzler_list_sites(argv=None):
reql = reql.between(
['ACTIVE', r.minval], ['ACTIVE', r.maxval],
index='sites_last_disclaimed')
elif args.site:
reql = reql.get_all(args.site)
logging.debug('querying rethinkdb: %s', reql)
results = reql.run()
if args.yaml: