# HG changeset patch # User Jeff Hammel # Date 1380307223 25200 # Node ID cb3330bcff9929ab9f5d9a7a311e3804b8acc481 # Parent 027a85c2a6d7294754b2b4ece0ed8a82642591b6 bzconsole/api.py diff -r 027a85c2a6d7 -r cb3330bcff99 bzconsole/api.py --- a/bzconsole/api.py Thu Sep 26 02:39:31 2013 -0700 +++ b/bzconsole/api.py Fri Sep 27 11:40:23 2013 -0700 @@ -138,7 +138,7 @@ # sanity check if product: assert product in self.products(), "Product not found" - assert component in self.components(product), "Component not found" + assert component in self.components(product), "Component '%s' not found in product '%s'" % (component, product) else: unique, dupe = self._unique_components() assert component in unique, 'Unique component not found: %s' % component