Package: python3-pweave
Version: 0.25-3
Severity: normal

On installing this package, I get the following warning:

Setting up python3-pweave (0.25-3) ...
/usr/lib/python3/dist-packages/pweave/__init__.py:47: SyntaxWarning: "is not" 
with a literal. Did you mean "!="?
  assert file != "" is not None, "No input specified"

This is clearly not what is intended, as the expression parses as:

  assert ((file != "") and ("" is not None)), "No input specified"

Presumably what is intended is:

  assert file != "", "No input specified"

Best wishes,

   Julian

Reply via email to