UI/UserInterface.py

branch
5_2_x
changeset 2156
c5e0b2e65358
parent 2151
7d38a32bf535
child 2181
95638bbcc9ff
equal deleted inserted replaced
2152:b57fc9a52742 2156:c5e0b2e65358
4673 default = os.path.join(os.path.dirname(executable), "doc") 4673 default = os.path.join(os.path.dirname(executable), "doc")
4674 else: 4674 else:
4675 default = "" 4675 default = ""
4676 pythonDocDir = Utilities.getEnvironmentEntry("PYTHON2DOCDIR", default) 4676 pythonDocDir = Utilities.getEnvironmentEntry("PYTHON2DOCDIR", default)
4677 else: 4677 else:
4678 pythonDocDir = Utilities.getEnvironmentEntry("PYTHON3DOCDIR", 4678 pythonDocDir = Utilities.getEnvironmentEntry("PYTHON2DOCDIR",
4679 '/usr/share/doc/packages/python/html/python-docs-html') 4679 '/usr/share/doc/packages/python/html/python-docs-html')
4680 if not pythonDocDir.startswith("http://") and \ 4680 if not pythonDocDir.startswith("http://") and \
4681 not pythonDocDir.startswith("https://"): 4681 not pythonDocDir.startswith("https://"):
4682 if pythonDocDir.startswith("file://"): 4682 if pythonDocDir.startswith("file://"):
4683 pythonDocDir = pythonDocDir[7:] 4683 pythonDocDir = pythonDocDir[7:]

eric ide

mercurial