Skip to content

Commit

Permalink
Fix pylint issue on python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Toilal committed Nov 7, 2015
1 parent 87eeb21 commit 12dba88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions guessit/rules/properties/title.py
Expand Up @@ -308,11 +308,11 @@ def when(self, matches, context):
with_year.append(title_match)

if with_year_in_group:
title_values = set([title.value for title in with_year_in_group])
title_values = set([title_match.value for title_match in with_year_in_group])
elif with_year:
title_values = set([title.value for title in with_year])
title_values = set([title_match.value for title_match in with_year])
else:
title_values = set([title.value for title in titles])
title_values = set([title_match.value for title_match in titles])

to_remove = []
for title_match in titles:
Expand Down

0 comments on commit 12dba88

Please sign in to comment.