summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2019-11-17 10:55:15 -0800
committerJens Carl <j.carl43@gmx.de>2019-11-24 07:41:58 +0100
commit4dc85b98d7d84ac0d50f6f64833b667fb48236c7 (patch)
treee7ddc4bd9310c281989696ad286e13941a4fe83b /connectivity/source
parenta81489978cb96d819044be054f7ceabc4f8eccb2 (diff)
Fix 'is' operator for comparison
The 'is' operator should not be used for comparison on some types of literals. In CPython this works by accident and CPython 3.8 introduced a SyntaxWarning (see https://bugs.python.org/issue34850). Change-Id: I5cb7470132b26d87848c2bdc382b05477eb56afb Reviewed-on: https://gerrit.libreoffice.org/83032 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'connectivity/source')
0 files changed, 0 insertions, 0 deletions