We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee6af5f commit 439c90dCopy full SHA for 439c90d
docs/conf.py
@@ -54,7 +54,7 @@
54
# The short X.Y version.
55
56
import re
57
-with file(os.path.join(path_dir, 'intercom', 'intercom.py')) as init:
+with open(os.path.join(path_dir, 'intercom', 'intercom.py')) as init:
58
source = init.read()
59
m = re.search("__version__ = '(\d+\.\d+\.\d+)'", source, re.M)
60
version = m.groups()[0]
setup.py
@@ -10,7 +10,7 @@
10
from setuptools import find_packages
11
from setuptools import setup
12
13
-with file(os.path.join('intercom', 'intercom.py')) as init:
+with open(os.path.join('intercom', 'intercom.py')) as init:
14
15
16
__version__ = m.groups()[0]
0 commit comments