[openSUSE/osc] 0bb2f4: Check for None & len() of ET.Element instead of bo...

Branch: refs/heads/master Home: https://github.com/openSUSE/osc Commit: 0bb2f49c342e90b44b27ae4b85eea0687e19c843 https://github.com/openSUSE/osc/commit/0bb2f49c342e90b44b27ae4b85eea0687e19c... Author: Dan Čermák <dcermak@suse.com> Date: 2024-08-16 (Fri, 16 Aug 2024) Changed paths: M osc/_private/package.py Log Message: ----------- Check for None & len() of ET.Element instead of bool() The bool() of ET.Element is discouraged from being used, see: https://github.com/python/cpython/issues/83122 Commit: 9d76d1d95de20842a01ae308f51fadd960832e48 https://github.com/openSUSE/osc/commit/9d76d1d95de20842a01ae308f51fadd960832... Author: Daniel Mach <daniel.mach@suse.com> Date: 2024-08-20 (Tue, 20 Aug 2024) Changed paths: M osc/_private/package.py Log Message: ----------- Merge pull request #1610 from dcermak/fix-xml-etree-deprecation Check for None & len() of ET.Element instead of bool() Compare: https://github.com/openSUSE/osc/compare/e958ce432823...9d76d1d95de2 To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/osc/settings/notifications
participants (1)
-
Daniel Mach