14
246
Fork
You've already forked pyfedi
75

Potentially mispelled variable in maintenance.py #1763

Closed
opened 2026年04月21日 13:24:09 +02:00 by Jerry_1113 · 1 comment
Contributor
Copy link

maintenance.py is throwing this error:

File "/home/piefed/pyfedi/app/shared/tasks/maintenance.py", line 250, in delete_old_soft_deleted_content
if post and (post.image_is is None or post.image_id not in images_used_by_many_posts):

AttributeError: 'Post' object has no attribute 'image_is'. Did you mean: 'image_id'?

maintenance.py is throwing this error: File "/home/piefed/pyfedi/app/shared/tasks/maintenance.py", line 250, in delete_old_soft_deleted_content if post and (post.image_is is None or post.image_id not in images_used_by_many_posts): AttributeError: 'Post' object has no attribute 'image_is'. Did you mean: 'image_id'?
Collaborator
Copy link

Looks like rimu already pushed a fix for this with 2e4f8e61ff - try pulling again and see if that clears it up.

Looks like rimu already pushed a fix for this with 2e4f8e61ff1886f0506feaae49afb09f0d0b6720 - try pulling again and see if that clears it up.
Sign in to join this conversation.
No Branch/Tag specified
main
v1.7.x
v1.6.x
v1.5.x
v1.4.x
v1.2.x
v1.3.x
async-microservice
gevent
schema
v1.1.x
swagger-api
v1.0.x
v0.99
infinite-scroll
refactor-post-new
v1.7.5
v1.7.4
v1.7.3
v1.7.2
v1.7.1
v1.7.0
v1.6.27
v1.6.26
v1.6.25
v1.6.24
v1.6.23
v1.6.22
v1.6.21
v1.6.20
v1.6.19
v1.6.18
v1.6.17
v1.6.16
v1.6.15b
v1.6.15
1.6.14
v1.6.13
v1.6.12
v1.6.11
v1.6.10
v1.6.9
v1.6.8
v1.6.7
v1.6.6
v1.6.5
v1.6.4
v1.6.3
v1.6.2
v1.6.0
v1.5.4
v1.5.3
1.5.2
v1.5.1
v1.5.0
v1.4.6
v1.2.7
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.3.10
v1.4.1
v1.4.0
v1.3.9
v1.3.8
v1.3.7
v1.3.6
v.1.3.5
v.1.3.4
v1.3.3
v1.3.2
v1.3.1
v1.3.0
v1.2.6
v1.2.5
v1.2.4
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.7
v1.1.6
v1.1.5
v1.1.4
v1.1.3
v1.1.2
v1.1.0
v1.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rimu/pyfedi#1763
Reference in a new issue
rimu/pyfedi
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?