This issue also affects users of mailman3-web. The warning is issued
when running the hourly cronjob:

$ sudo -u www-data flock -n /var/run/mailman3-web/cron.hourly
/usr/share/mailman3-web/manage.py runjobs hourly
/usr/lib/python3/dist-packages/haystack/backends/whoosh_backend.py:734:
SyntaxWarning: "is" with a literal. Did you mean "=="?
  if value is None or len(value) is 0:
/usr/lib/python3/dist-packages/whoosh/codec/whoosh3.py:1116:
SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif fixedsize is 0:

Both issues can be fixed by replacing "is" with "==" on the respective
lines.

Imre

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to