diff options
author | Aleksandar Trifunovic <akstrfn@gmail.com> | 2018-07-30 11:12:43 +0200 |
---|---|---|
committer | Aleksandar Trifunovic <akstrfn@gmail.com> | 2019-02-01 21:27:57 +0100 |
commit | 203506c9cc2bb2adeb040e5f6c7a74ad6571105e (patch) | |
tree | ebed361391e14b524f8f928a1c634ec2d66db0e0 /public | |
parent | adaa6d64c4466cff986e695d9d69d51a4d05ca59 (diff) | |
download | archweb-203506c9cc2bb2adeb040e5f6c7a74ad6571105e.tar.gz archweb-203506c9cc2bb2adeb040e5f6c7a74ad6571105e.zip |
remove unecessary list calls
Diffstat (limited to 'public')
-rw-r--r-- | public/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/utils.py b/public/utils.py index cf768129..248bd7d8 100644 --- a/public/utils.py +++ b/public/utils.py @@ -48,7 +48,7 @@ class RecentUpdate(object): by_arch = defaultdict(list) for package in self.others: by_arch[package.arch].append(package) - for _, packages in list(by_arch.items()): + for _, packages in by_arch.items(): if len(packages) == 1: yield packages[0] else: |