Univention Bugzilla – Bug 34474
dict.has_key(key) → key in dict || dict.get(key)
Last modified: 2018-04-14 13:51:46 CEST
+++ This bug was initially created as a clone of Bug #27745 +++ W:0009-5: python/univention-errata-components-update:234:22: dict.has_key is deprecated in python3 - please use "if key in dict:" W:0009-5: python/univention-updater:413:89: dict.has_key is deprecated in python3 - please use "if key in dict:" W:0009-5: python/univention-repository-migrate:220:20: dict.has_key is deprecated in python3 - please use "if key in dict:" W:0009-5: python/univention-repository-create:254:20: dict.has_key is deprecated in python3 - please use "if key in dict:" W:0009-5: python/univention-repository-update:262:19: dict.has_key is deprecated in python3 - please use "if key in dict:" W:0009-5: python/univention-errata-update:208:22: dict.has_key is deprecated in python3 - please use "if key in dict:" W:0009-5: python/univention-repository-merge:87:16: dict.has_key is deprecated in python3 - please use "if key in dict:" W:0009-5: modules/univention/updater/mirror.py:51:25: dict.has_key is deprecated in python3 - please use "if key in dict:" W:0009-5: modules/univention/updater/mirror.py:55:25: dict.has_key is deprecated in python3 - please use "if key in dict:" I have the same issues. [...] W:0009-5: openerp-addons/ecoservice_financeinterface_datev_export/datev_export.py:56:21: dict.has_key is deprecated in python3 - please use "if key in dict:" W:0009-5: openerp-addons/ecoservice_financeinterface/account.py:56:23: dict.has_key is deprecated in python3 - please use "if key in dict:" W:0009-5: openerp-addons/ecoservice_financeinterface/ecofi.py:115:23: dict.has_key is deprecated in python3 - please use "if key in dict:" W:0009-5: openerp-addons/ecoservice_financeinterface/wizard/export_ecofi_buchungsaetze.py:64:24: dict.has_key is deprecated in python3 - please use "if key in dict:" W:0009-5: openerp-addons/ecoservice_financeinterface/wizard/export_ecofi_buchungsaetze.py:104:16: dict.has_key is deprecated in python3 - please use "if key in dict:" E:0008-1: openerp-addons/ecoservice_financeinterface_datev_import/datev_import.py:600: file contains construct like _("foo %s bar" % var)