use simpler form for iter to list
This commit is contained in:
parent
1716a738d2
commit
96e706db31
8 changed files with 12 additions and 12 deletions
|
|
@ -21,6 +21,6 @@ class GazelleTest(BackendTest):
|
|||
BACKEND = 'gazelle'
|
||||
|
||||
def test_torrent(self):
|
||||
l = [torrent for torrent in self.backend.iter_torrents('sex')]
|
||||
l = list(self.backend.iter_torrents('sex'))
|
||||
if len(l) > 0:
|
||||
self.backend.get_torrent_file(l[0].id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue