Package list lightdm-gtk-greeter-settings / c106576
Add patch 0002-Fix-Python-syntax-warning-in-helpers.py-script.patch James Lu 8 months ago
3 changed file(s) with 33 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
00 lightdm-gtk-greeter-settings (1.2.2-4) UNRELEASED; urgency=medium
11
2 [ Debian Janitor ]
23 * Set upstream metadata fields: Repository, Repository-Browse.
34
4 -- Debian Janitor <janitor@jelmer.uk> Thu, 30 Apr 2020 00:39:59 +0000
5 [ James Lu ]
6 * Add patch 0002-Fix-Python-syntax-warning-in-helpers.py-script.patch from
7 upstream commit https://github.com/Xubuntu/lightdm-gtk-greeter-settings/commit/c5ad9571dda90a3b4a5823ac7d4430d6a4cd5844
8 Closes: #982373
9
10 -- James Lu <james@overdrivenetworks.com> Sat, 13 Feb 2021 12:53:52 -0800
511
612 lightdm-gtk-greeter-settings (1.2.2-3) unstable; urgency=medium
713
0 From: Sean Davis <smd.seandavis@gmail.com>
1 Date: Tue, 16 Jun 2020 06:22:40 -0400
2 Subject: Fix Python syntax warning in helpers.py script
3
4 From: upstream; https://github.com/Xubuntu/lightdm-gtk-greeter-settings/commit/c5ad9571dda90a3b4a5823ac7d4430d6a4cd5844
5 Forwarded: not-needed
6 Bug-Debian: https://bugs.debian.org/982373
7 Bug: https://github.com/Xubuntu/lightdm-gtk-greeter-settings/issues/19
8 ---
9 lightdm_gtk_greeter_settings/helpers.py | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/lightdm_gtk_greeter_settings/helpers.py b/lightdm_gtk_greeter_settings/helpers.py
13 index a5b6fa7..53ba10d 100644
14 --- a/lightdm_gtk_greeter_settings/helpers.py
15 +++ b/lightdm_gtk_greeter_settings/helpers.py
16 @@ -278,7 +278,7 @@ class SimpleEnumMeta(type):
17 obj._tuple_type = namedtuple(obj.__class__.__name__ + 'Tuple', obj._dict.keys())
18 keys = list(obj._dict.keys())
19 for i in range(len(keys)):
20 - if obj._dict[keys[i]] is ():
21 + if obj._dict[keys[i]] == ():
22 v = 0 if i == 0 else obj._dict[keys[i - 1]] + 1
23 setattr(obj, keys[i], v)
24 obj._dict[keys[i]] = v
00 0001-Refresh-translations.patch
1 0002-Fix-Python-syntax-warning-in-helpers.py-script.patch