zephyr mirror: update subscription reporting to accomodate new results format.

(imported from commit 94a680d509f727962a07c18bc89edcb1146d8772)
This commit is contained in:
Jessica McKellar 2013-02-06 13:20:58 -05:00
parent 5acf8f93b5
commit a31f443baa

View file

@ -620,9 +620,9 @@ def add_humbug_subscriptions(verbose):
new = res.get("subscribed") new = res.get("subscribed")
if verbose: if verbose:
if already is not None and len(already) > 0: if already is not None and len(already) > 0:
logger.info("\nAlready subscribed to: %s" % (", ".join(already),)) logger.info("\nAlready subscribed to: %s" % (", ".join(already.values()[0]),))
if new is not None and len(new) > 0: if new is not None and len(new) > 0:
logger.info("\nSuccessfully subscribed to: %s" % (", ".join(new),)) logger.info("\nSuccessfully subscribed to: %s" % (", ".join(new.values()[0]),))
if len(skipped) > 0: if len(skipped) > 0:
if verbose: if verbose: