Changeset 9f8ade1 in sasmodels


Ignore:
Timestamp:
Sep 27, 2017 2:29:31 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
3b32f8d
Parents:
c0d7ab3
Message:

python 3 moves thread to _thread

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sasview_model.py

    r9644b5a r9f8ade1  
    1616import logging 
    1717from os.path import basename, splitext, abspath, getmtime 
    18 import thread 
     18try: 
     19    import _thread as thread 
     20except ImportError: 
     21    import thread 
    1922 
    2023import numpy as np  # type: ignore 
Note: See TracChangeset for help on using the changeset viewer.