launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #00190
[Merge] lp:~lifeless/launchpad/soyuz into lp:launchpad/devel
Robert Collins has proposed merging lp:~lifeless/launchpad/soyuz into lp:launchpad/devel.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
This time for sure
--
https://code.launchpad.net/~lifeless/launchpad/soyuz/+merge/30456
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~lifeless/launchpad/soyuz into lp:launchpad/devel.
=== modified file 'lib/lp/soyuz/model/binarypackagebuild.py'
--- lib/lp/soyuz/model/binarypackagebuild.py 2010-07-18 00:56:16 +0000
+++ lib/lp/soyuz/model/binarypackagebuild.py 2010-07-20 19:43:26 +0000
@@ -12,6 +12,7 @@
import operator
from storm.locals import Int, Reference
+from storm.store import EmptyResultSet
from zope.interface import implements
from zope.component import getUtility
@@ -882,10 +883,7 @@
"""See `IBinaryPackageBuildSet`."""
# If not distroarchseries was found return empty list
if not arch_ids:
- # XXX cprov 2006-09-08: returning and empty SelectResult to make
- # the callsites happy as bjorn suggested. However it would be
- # much clearer if we have something like SQLBase.empty() for this
- return BinaryPackageBuild.select("2=1")
+ return EmptyResultSet()
clauseTables = []