Changeset 70481a5 in sasview


Ignore:
Timestamp:
Jun 23, 2015 10:17:42 PM (9 years ago)
Author:
butler
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:
73538ae
Parents:
42dbcfb
Message:

Add logger messages to check connection to GitHub?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/guiframe/gui_manager.py

    r5846bb5 r70481a5  
    20472047            content = res.read() 
    20482048            conn.close() 
     2049            logging.info("connected to GitHub. sasview.latestversion = %s" 
     2050                         % (content)) 
    20492051        except: 
     2052            logging.info("failed to connect to GitHub") 
    20502053            content = "0.0.0" 
    20512054 
    20522055        version = content.strip() 
     2056        logging.info("Latest SasView version number: %s" % (version)) 
    20532057        if len(re.findall('\d+\.\d+\.\d+$', version)) < 0: 
    20542058            content = "0.0.0" 
Note: See TracChangeset for help on using the changeset viewer.