If the __nonzero__ is True we issue a similar query, but at that time its restricted to the package-search form (default) values.
We issue that query because it was supposed to be the simplest/quickest way to figure out when a PPA is inactive (zero source publications) and then easily modify the layout to avoid issues other empty or pointless queries. However, I admit it's a little cumbersome for active PPAs.
If the __nonzero__ is True we issue a similar query, but at that time its restricted to the package-search form (default) values.
We issue that query because it was supposed to be the simplest/quickest way to figure out when a PPA is inactive (zero source publications) and then easily modify the layout to avoid issues other empty or pointless queries. However, I admit it's a little cumbersome for active PPAs.