launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #02950
[Merge] lp:~stevenk/launchpad/dsd-base_source_pub-archive into lp:launchpad
Steve Kowalik has proposed merging lp:~stevenk/launchpad/dsd-base_source_pub-archive into lp:launchpad.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~stevenk/launchpad/dsd-base_source_pub-archive/+merge/53357
Don't limit the search for the base version source publication to the parent or child distroseries, look in both archives fully.
--
https://code.launchpad.net/~stevenk/launchpad/dsd-base_source_pub-archive/+merge/53357
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~stevenk/launchpad/dsd-base_source_pub-archive into lp:launchpad.
=== modified file 'lib/lp/registry/model/distroseriesdifference.py'
--- lib/lp/registry/model/distroseriesdifference.py 2011-03-14 06:10:13 +0000
+++ lib/lp/registry/model/distroseriesdifference.py 2011-03-15 02:48:57 +0000
@@ -156,14 +156,14 @@
parent = self.derived_series.parent_series
result = parent.main_archive.getPublishedSources(
name=self.source_package_name.name,
- version=self.base_version, distroseries=parent).first()
+ version=self.base_version).first()
if result is None:
# If the base version isn't in the parent, it may be
# published in the child distroseries.
child = self.derived_series
result = child.main_archive.getPublishedSources(
name=self.source_package_name.name,
- version=self.base_version, distroseries=child).first()
+ version=self.base_version).first()
return result
return None