Comment 10 for bug 1863414

Revision history for this message
Anaggh S (anaggh) wrote :

Occurs for `drawing` package too.

```
$ sudo apt install drawing
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  drawing
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,129 kB of archives.
After this operation, 1,786 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 drawing amd64 0.4.2-1 [1,129 kB]
Fetched 1,129 kB in 2s (699 kB/s)
Selecting previously unselected package drawing.
(Reading database ... 325026 files and directories currently installed.)
Preparing to unpack .../drawing_0.4.2-1_amd64.deb ...
Unpacking drawing (0.4.2-1) ...
Setting up drawing (0.4.2-1) ...
/usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdin = io.open(p2cwrite, 'wb', bufsize)
/usr/lib/python3/dist-packages/drawing/options_manager.py:48: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if action.get_state_type().dup_string() is 's':
/usr/lib/python3/dist-packages/drawing/properties.py:91: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if cairo_format is 'ARGB32':
/usr/lib/python3/dist-packages/drawing/properties.py:120: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if (self.set_format_label() is not 'ARGB32') or (not visible):
/usr/lib/python3/dist-packages/drawing/selection_manager.py:71: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if pts[1] is not ():
/usr/lib/python3/dist-packages/drawing/selection_manager.py:139: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if pts[1] is not ():
/usr/lib/python3/dist-packages/drawing/selection_manager.py:203: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if pts[1] is not ():
/usr/lib/python3/dist-packages/drawing/selection_manager.py:265: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if pts[1] is not ():
/usr/lib/python3/dist-packages/drawing/tool_experiment.py:285: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if pts[1] is ():
/usr/lib/python3/dist-packages/drawing/tool_experiment.py:324: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if pts[1] is ():
/usr/lib/python3/dist-packages/drawing/tool_experiment.py:372: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if pts[1] is ():
/usr/lib/python3/dist-packages/drawing/tool_select.py:276: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if pts[1] is not ():
/usr/lib/python3/dist-packages/drawing/utilities.py:195: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if pts[1] is ():
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.63.3-3) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu1) ...
$
```