chiark / gitweb /
Do not execute a statement without catching the return value in global namespace
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Wed, 21 Oct 2015 18:26:33 +0000 (14:26 -0400)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Wed, 21 Oct 2015 18:55:39 +0000 (14:55 -0400)
commitabd004245f8a5974693a00423cda817d5622ab89
tree16aa090701a4d659c52a0350b731de6ac032bcc2
parent54d5ce179fb53564f95807e35a97bdea11d8c4ca
Do not execute a statement without catching the return value in global namespace

The issue is that any statement without a variable to catch the
returned value will cause that value to be stored in the _ variable
and when that happens in the global namespace, it will cause issues
such as the gettext _ variable being overwritten
Cura/gui/printWindow.py
Cura/gui/util/openglHelpers.py
Cura/gui/util/taskbar.py