Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c5e70ea

Browse files
committed
deleted all remnants of check_version. see ya!
1 parent ce9cd78 commit c5e70ea

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

plotly/version.py

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1 @@
11
__version__ = '1.0.14'
2-
3-
# import requests
4-
#
5-
# _plotly_pypi_url = "https://pypi.python.org/pypi/plotly"
6-
7-
8-
# def check_version():
9-
# msg = ""
10-
# succeded = True
11-
# try:
12-
# response = requests.get(_plotly_pypi_url)
13-
# title = response.text.split('<title>')[1].split('</title>')[0]
14-
# newest_version = title.split(' ')[1]
15-
# msg += "Newest version: {}\n".format(newest_version)
16-
# except:
17-
# succeded = False
18-
# msg += "Check {} for the newest version.\n".format(_plotly_pypi_url)
19-
# msg += "Your version: {}\n\n".format(__version__)
20-
# if succeded:
21-
# if newest_version != __version__:
22-
# msg += "Looks like you might be running an old version of our " \
23-
# "Python API. Don't fret, just run:\n\n" \
24-
# "pip install --upgrade plotly\n\n" \
25-
# "to get our newest release.\n"
26-
# return msg

0 commit comments

Comments
 (0)