Python syntax warning in helpers.py script

Bug #1877664 reported by Daniel Richard G.
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LightDM GTK Greeter Settings
Fix Released
Unknown
lightdm-gtk-greeter-settings (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This concerns lightdm-gtk-greeter-settings 1.2.2-3 in Ubuntu focal.

Seen during package installation:

[...]
Setting up lightdm-gtk-greeter-settings (1.2.2-3) ...
/usr/lib/python3/dist-packages/lightdm_gtk_greeter_settings/helpers.py:281: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if obj._dict[keys[i]] is ():
[...]

Tags: focal
Sean Davis (bluesabre)
Changed in lightdm-gtk-greeter-settings:
importance: Undecided → Unknown
status: New → Unknown
Changed in lightdm-gtk-greeter-settings:
status: Unknown → New
Changed in lightdm-gtk-greeter-settings:
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lightdm-gtk-greeter-settings (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lightdm-gtk-greeter-settings - 1.2.2-4

---------------
lightdm-gtk-greeter-settings (1.2.2-4) unstable; urgency=medium

  [ Debian Janitor ]
  * Set upstream metadata fields: Repository, Repository-Browse.

  [ James Lu ]
  * Add patch 0002-Fix-Python-syntax-warning-in-helpers.py-script.patch from
    upstream commit
    https://github.com/Xubuntu/lightdm-gtk-greeter-settings/commit/c5ad9571dda90a3b4a5823ac7d4430d6a4cd5844
    Closes: #982373, LP: #1877664

 -- James Lu <email address hidden> Sat, 13 Feb 2021 12:55:22 -0800

Changed in lightdm-gtk-greeter-settings (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.