Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bullseye: Warnings on Confconsole when upgrading to Python3.9 #1634

Closed
JedMeister opened this issue Aug 3, 2021 · 0 comments · Fixed by turnkeylinux/confconsole#53
Closed

Comments

@JedMeister
Copy link
Member

I am currently running a system upgrade to Debian Bullseye (which will be the new base for Turnkey v17.x) and noticed these warnings:

Setting up python3 (3.9.2-3) ...
running python rtupdate hooks for python3.9...
/usr/lib/confconsole/plugin.py:142: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if retcode is not 'ok':
/usr/lib/confconsole/plugins.d/Mail_Relaying/mail_relay.py:47: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if ret is 235:  # 2.7.0 Authentication successful
/usr/lib/confconsole/plugins.d/Mail_Relaying/mail_relay.py:61: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if ret is 235:
/usr/lib/confconsole/plugins.d/Mail_Relaying/mail_relay.py:115: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if retcode is not 'ok':
/usr/lib/confconsole/plugins.d/System_Settings/Regenerate_DHParams.py:60: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if ret is not 'ok':
running python post-rtupdate hooks for python3.9...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant