Skip to content

Commit 2442244

Browse files
committed
Merge pull request intercom#53 from jkeyes/fix-setup
Use open instead of file (thanks @flc)
2 parents 71bf762 + f413432 commit 2442244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from setuptools import find_packages
1111
from setuptools import setup
1212

13-
with file(os.path.join('intercom', '__init__.py')) as init:
13+
with open(os.path.join('intercom', '__init__.py')) as init:
1414
source = init.read()
1515
m = re.search("__version__ = '(\d+\.\d+\.(\d+|[a-z]+))'", source, re.M)
1616
__version__ = m.groups()[0]

0 commit comments

Comments
 (0)