~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/archiveuploader/nascentupload.py

[r=benji][bug=795573,
 796233] On DistroSeries:+localpackagediffs ensure that the comment
 form is hidden after adding a new comment to a DistroSeriesDifference,
 prevent empty comments from being submitted,
 and add some animations and effects to make the UI less jarring and easier to
 follow.

Show diffs side-by-side

added added

removed removed

Lines of Context:
926
926
            distroseries = getUtility(
927
927
                IDistributionSet)['ubuntu'].currentseries
928
928
            return distroseries.createQueueEntry(
929
 
                PackagePublishingPocket.RELEASE, self.changes.filename,
930
 
                self.changes.raw_content, distroseries.main_archive,
931
 
                self.changes.signingkey)
 
929
                PackagePublishingPocket.RELEASE,
 
930
                distroseries.main_archive, self.changes.filename,
 
931
                self.changes.raw_content, self.changes.signingkey)
932
932
        else:
933
933
            return distroseries.createQueueEntry(
934
 
                self.policy.pocket, self.changes.filename,
935
 
                self.changes.raw_content, self.policy.archive,
 
934
                self.policy.pocket, self.policy.archive,
 
935
                self.changes.filename, self.changes.raw_content,
936
936
                self.changes.signingkey)
937
937
 
938
938
    #