Changes in sasview/__init__.py [6394851:463e7ffc] in sasview


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasview/__init__.py

    r6394851 r463e7ffc  
    1 __version__ = "4.1.2" 
     1__version__ = "4.1" 
    22__build__ = "GIT_COMMIT" 
     3 
     4import logging 
     5logger = logging.getLogger(__name__) 
     6 
    37try: 
    4     import logging 
    58    import subprocess 
    69    import os 
     
    1619    __build__ = str(git_revision).strip() 
    1720except subprocess.CalledProcessError as cpe: 
    18     logging.warning("Error while determining build number\n  Using command:\n %s \n Output:\n %s"% (cpe.cmd,cpe.output)) 
     21    logger.warning("Error while determining build number\n  Using command:\n %s \n Output:\n %s"% (cpe.cmd,cpe.output)) 
Note: See TracChangeset for help on using the changeset viewer.