getPackagesetsForUploader uses Store.find, which doesn't return an SQLObject
result set.
This breaks assumptions, such as __nonzero__ being implemented, which caused
a (small) bug in checkUpload().
Either it should be made to use a different method, or something should be done
so that Launchpad's Stores return SQLObjectResult sets, as this is surprising and
subtle, and could cause bigger problems.
Hi,
getPackagesetsF orUploader uses Store.find, which doesn't return an SQLObject
result set.
This breaks assumptions, such as __nonzero__ being implemented, which caused
a (small) bug in checkUpload().
Either it should be made to use a different method, or something should be done
so that Launchpad's Stores return SQLObjectResult sets, as this is surprising and
subtle, and could cause bigger problems.
Thanks,
James