From a75fb35fc824eb5c91271b09913e09ff3a19e83d Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 27 Dec 2020 11:43:47 +0100 Subject: [PATCH] ubuntu-archive-assistant/mir: Fix a SyntaxWarning. --- debian/changelog | 1 + ubuntu_archive_assistant/commands/mir.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 973dd78..4c1627a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ ubuntu-dev-tools (0.178) UNRELEASED; urgency=medium [ Mattia Rizzolo ] * d/control: Bump Standards-Version to 4.5.1, no changes needed. + * ubuntu-archive-assistant/mir: Fix a SyntaxWarning. [ You-Sheng Yang ] * Add a dependency on tzdata, used by mk-sbuild. diff --git a/ubuntu_archive_assistant/commands/mir.py b/ubuntu_archive_assistant/commands/mir.py index 92f2d45..1e20f53 100644 --- a/ubuntu_archive_assistant/commands/mir.py +++ b/ubuntu_archive_assistant/commands/mir.py @@ -147,7 +147,7 @@ class MIRReview(AssistantCommand): if not source_pkg: print("\n%s does not exist in Ubuntu") sys.exit(1) - if latest.pocket is "Proposed": + if latest.pocket == "Proposed": print("\nThere is a version of %s in -proposed: %s" % (source, latest.source_package_version)) if task: