Skip to content

Commit a45b88d

Browse files
lcarillajelly
authored andcommitted
fix linting issue
1 parent e460ba4 commit a45b88d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

devel/management/commands/readlinks_inotify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def setup_notifier(self):
5959
arches = Arch.objects.filter(agnostic=False)
6060
repos = Repo.objects.all()
6161

62-
arch_path_map = {arch: None for arch in arches}
62+
arch_path_map = dict.fromkeys(arches)
6363
all_paths = set()
6464
total_paths = 0
6565
for arch in arches:

devel/management/commands/reporead_inotify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def setup_notifier(self):
7272
arches = Arch.objects.filter(agnostic=False)
7373
repos = Repo.objects.all()
7474

75-
arch_path_map = {arch: None for arch in arches}
75+
arch_path_map = dict.fromkeys(arches)
7676
all_paths = set()
7777
total_paths = 0
7878
for arch in arches:

0 commit comments

Comments
 (0)