~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/model/distroseriesdifference.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:
753
753
                self.status = DistroSeriesDifferenceStatus.RESOLVED
754
754
            elif (
755
755
                apt_pkg.VersionCompare(
756
 
                    self.source_version, self.parent_source_version) < 0
 
756
                    self.source_version, self.parent_source_version) > 0
757
757
                and not manual):
758
758
                # If the derived version is lower than the parent's, we
759
759
                # ensure the diff status is blacklisted.