Bug 34474 - dict.has_key(key) → key in dict || dict.get(key)
dict.has_key(key) → key in dict || dict.get(key)
Status: RESOLVED INVALID
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 3.0
All Linux
: P5 enhancement (vote)
: ---
Assigned To: UCS maintainers
: interim-3
Depends on: 27745
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-04 10:39 CEST by Daniel Fricke
Modified: 2018-04-14 13:51 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Cleanup
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Fricke univentionstaff 2014-04-04 10:39:56 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)