Skip to content

Commit

Permalink
setup.py broke Py3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Oct 18, 2012
1 parent ab8c68b commit 467b7b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ def strip_comments(l):


def reqs(f):
return filter(None, [strip_comments(l) for l in open(
os.path.join(os.getcwd(), 'requirements', f)).readlines()])
return list(filter(None, [strip_comments(l) for l in open(
os.path.join(os.getcwd(), 'requirements', f)).readlines()]))

install_requires = reqs('default.txt')
if is_py3k:
Expand Down

0 comments on commit 467b7b6

Please sign in to comment.