Skip to content

Commit 4e76346

Browse files
authored
17713 fix underscore in datasource.sync (#17729)
1 parent e59f776 commit 4e76346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox/core/models/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def sync(self):
201201
logger.debug(f"Updated {updated_count} files")
202202

203203
# Bulk delete deleted files
204-
deleted_count, _ = DataFile.objects.filter(pk__in=deleted_file_ids).delete()
204+
deleted_count, __ = DataFile.objects.filter(pk__in=deleted_file_ids).delete()
205205
logger.debug(f"Deleted {deleted_count} files")
206206

207207
# Walk the local replication to find new files

0 commit comments

Comments
 (0)