Comment 3 for bug 1915869

Revision history for this message
Adam Collard (adam-collard) wrote : Re: maas snap cli renders SyntaxWarning in the stdout

Originally this bug claimed that maas cli *stdout* was broken, that's not true - the warning message is printed by Python to *stderr*.

$ maas --help >/dev/null
/snap/maas/11843/usr/lib/python3/dist-packages/netaddr/strategy/__init__.py:189: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if word_sep is not '':
$ echo $?
0

We need to understand what FCE is attempting to do with stderr (and if/why it attempts to parse `maas -h`)

The issue with netaddr itself is captured in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950787 and fixed in 0.7.19-4 which appears to be in Groovy