Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

Commit

Permalink
Replace lambda assignment with def
Browse files Browse the repository at this point in the history
  • Loading branch information
jaap3 committed Mar 22, 2018
1 parent 6fd831d commit c06953c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
print(" git push --tags")
sys.exit()

read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()

def read(filepath):
return codecs.open(filepath, 'r', 'utf-8').read()


setup(
name='django-smuggler',
Expand Down

0 comments on commit c06953c

Please sign in to comment.