Commit be84d9ed authored by Seth Forshee's avatar Seth Forshee Committed by Kleber Sacilotto de Souza

UBUNTU: [Packaging] git-ubuntu-log -- fix detection of packaging changes

The recent update to handle multiple bugs/cves has an error in
the detection of packaging changes, causing them to be denoted as
upstream changes in the changelog. Change this logic to check the
subject field instead of the non-existent title field.

Ignore: yes
Signed-off-by: default avatarSeth Forshee <seth.forshee@canonical.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Acked-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent 962cca30
......@@ -23,7 +23,7 @@ def add_entry(entry):
combo = sorted(combo)
if len(combo) == 0:
if entry.get('title', "").startswith('UBUNTU'):
if entry.get('subject', "").startswith('UBUNTU'):
combo = '__packaging__'
else:
combo = '__mainline__'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment