Univention Bugzilla – Bug 27745
dict.has_key(key) → key in dict || dict.get(key)
Last modified: 2014-04-04 10:39:56 CEST
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:"
Created attachment 4478 [details] has_key()
UCS 3.1 will be the next release.
Code wurde überarbeitet. svn34051, 34694, univention-updater_8.0.2-1.1066.201208072113 ChangeLog: svn14239 \item Some old code still using deprecated functions has been cleaned up (\ucsBug{27745}).
(In reply to comment #3) > Code wurde überarbeitet. > > svn34051, 34694, univention-updater_8.0.2-1.1066.201208072113 OK > ChangeLog: svn14239 > \item Some old code still using deprecated functions has been cleaned up > (\ucsBug{27745}). OK
UCS 3.1-0 has been released: http://forum.univention.de/viewtopic.php?f=54&t=2125 If this error occurs again, please use "Clone This Bug".