- Timestamp:
- Jul 1, 2015 3:23:35 AM (9 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 24d3a40
- Parents:
- 60d08fd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/guiframe/gui_manager.py
raceae8c rf7d2f4a 25 25 import httplib 26 26 import traceback 27 import urllib 28 import urllib2 27 29 28 30 … … 2041 2043 """ 2042 2044 try: 2043 conn = httplib.HTTPSConnection(config.__update_URL__[0], 2044 timeout=3.0) 2045 conn.request("GET", config.__update_URL__[1]) 2046 res = conn.getresponse() 2047 content = res.read() 2048 conn.close() 2045 req = urllib2.Request('https://github.com/SasView/sasview/releases/latest') 2046 res = urllib2.urlopen(req) 2047 get_url= res.geturl() 2048 content = get_url.partition('/v')[2] 2049 2049 logging.info("connected to GitHub. sasview.latestversion = %s" 2050 2050 % (content))
Note: See TracChangeset
for help on using the changeset viewer.