summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMagnus Hagander2021-12-12 14:08:40 +0000
committerMagnus Hagander2021-12-12 14:13:10 +0000
commit1537d0e89d2c6ac57a047444a29eace8eb2a9bb7 (patch)
tree65bb981bc37a6ece059759f27226da134592cfe8 /tools
parent5cfc7d20e0e38174a04e345600efcb377f9239cc (diff)
Update for django 3.2 compatibility
Diffstat (limited to 'tools')
-rwxr-xr-xtools/commitfest/check_patches_in_archives.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/commitfest/check_patches_in_archives.py b/tools/commitfest/check_patches_in_archives.py
index 5e60175..148de2b 100755
--- a/tools/commitfest/check_patches_in_archives.py
+++ b/tools/commitfest/check_patches_in_archives.py
@@ -42,7 +42,7 @@ if __name__ == "__main__":
# We will hit the archives without delay when doing this, but that
# should generally not be a problem because it's not going to be
# downloading a lot...
- for a in MailThreadAttachment.objects.filter(ispatch=None):
+ for a in MailThreadAttachment.objects.filter(ispatch__isnull=True):
url = "/message-id/attachment/%s/attach" % a.attachmentid
logging.debug("Checking attachment %s" % a.attachmentid)