Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytest reports warning for radicale/app/report.py #1515

Open
pbiering opened this issue Jun 9, 2024 · 1 comment
Open

pytest reports warning for radicale/app/report.py #1515

pbiering opened this issue Jun 9, 2024 · 1 comment
Assignees
Labels
need:support support/help/contribution is required prio:medium medium priority upcoming incompatibility
Milestone

Comments

@pbiering
Copy link
Collaborator

pbiering commented Jun 9, 2024

Found:

radicale/app/report.py:74: DeprecationWarning: Testing an element's truth value will raise an exception in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
    props: Union[ET.Element, List] = root.find(xmlutils.make_clark("D:prop")) or []

Can one support fixing this?

@pbiering pbiering added prio:medium medium priority upcoming incompatibility need:support support/help/contribution is required labels Jun 9, 2024
@pbiering pbiering added this to the 3.2.x milestone Jun 9, 2024
@pbiering pbiering changed the title pytest report warning for radicale/app/report.py pytest reports warning for radicale/app/report.py Jun 9, 2024
@pbiering pbiering modified the milestones: 3.2.x, 3.3.x Oct 8, 2024
@pbiering pbiering self-assigned this Dec 6, 2024
@pbiering pbiering modified the milestones: 3.3.x, 3.3.2 Dec 6, 2024
@pbiering pbiering removed the need:support support/help/contribution is required label Dec 6, 2024
pbiering added a commit to pbiering/Radicale that referenced this issue Dec 6, 2024
@pbiering pbiering added the need:support support/help/contribution is required label Dec 6, 2024
@pbiering pbiering modified the milestones: 3.3.2, 3.3.x Dec 6, 2024
@pbiering
Copy link
Collaborator Author

pbiering commented Dec 6, 2024

tried to fix, but not working, please help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need:support support/help/contribution is required prio:medium medium priority upcoming incompatibility
Projects
None yet
Development

No branches or pull requests

1 participant