summaryrefslogtreecommitdiff
path: root/pt_BR
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2024-07-13 09:52:54 +0200
committerJulien Nabet <serval2412@yahoo.fr>2024-07-22 22:51:14 +0200
commit95ad46565d8b72a66bff7201b14040f031e8c615 (patch)
treeffbbb300f1a3b043b7d688f06acc14913749992c /pt_BR
parentfc2dc383a40e56c0118866c9110954bebc6ea41d (diff)
Python: use is None/is not None instead of == None/!= None
Change-Id: Id5d2fdd780ad703deb893df567e716e913efdf64 Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/170361 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'pt_BR')
-rw-r--r--pt_BR/pythonpath/lightproof_handler_pt_BR.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pt_BR/pythonpath/lightproof_handler_pt_BR.py b/pt_BR/pythonpath/lightproof_handler_pt_BR.py
index e80e320..9338da6 100644
--- a/pt_BR/pythonpath/lightproof_handler_pt_BR.py
+++ b/pt_BR/pythonpath/lightproof_handler_pt_BR.py
@@ -69,7 +69,7 @@ class LightproofOptionsEventHandler( unohelper.Base, XServiceInfo, XContainerWin
def loadData(self, aWindow):
sWindowName = self.getWindowName(aWindow)
- if (sWindowName == None):
+ if (sWindowName is None):
return
child = self.getChild(sWindowName)
for i in lightproof_opts_pt_BR.lopts[sWindowName]:
@@ -85,7 +85,7 @@ class LightproofOptionsEventHandler( unohelper.Base, XServiceInfo, XContainerWin
def saveData(self, aWindow):
sWindowName = self.getWindowName(aWindow)
- if (sWindowName == None):
+ if (sWindowName is None):
return
child = self.getChild(sWindowName)
for i in lightproof_opts_pt_BR.lopts[sWindowName]: