Skip to content

Commit

Permalink
Futurize using stage 2
Browse files Browse the repository at this point in the history
  • Loading branch information
nraval1729 committed Oct 10, 2019
1 parent 9a05d23 commit 040eff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rbox_htmldiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ def html2list(x, b=0):
elif c in string.whitespace: out.append(cur+c); cur = ''
else: cur += c
out.append(cur)
return filter(lambda x: x is not '', out)
return [x for x in out if x is not '']

0 comments on commit 040eff6

Please sign in to comment.