[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#956001: cinnamon-common: Python SyntaxWarning in package setup - bad identity comparisons against literals



severity 956001 minor
thanks

Hi Phil,

On Sun, 05 Apr 2020, Phil Miller wrote:
> /usr/share/cinnamon/cinnamon-desktop-editor/cinnamon-desktop-editor.py:197: SyntaxWarning: "is not" with a literal. Did you mean "!="?
>   name_valid = name_text is not ""

Yeah yeah, Python 3.8 noisiness. Python devs enjoy breaking
compatibility.

This will probably be fixed upstream in due time. The warnings are
harmless and can be ignored.

Best

Norbert

--
PREINING Norbert                              https://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


Reply to: