Changeset 79729d5 in flex_extract.git for source/python/mods/profiling.py


Ignore:
Timestamp:
Mar 8, 2019, 4:07:28 PM (5 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
d727af2
Parents:
82c2959
Message:

switched from python2 to python3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/python/mods/profiling.py

    r25b14be r79729d5  
    1 #!/usr/bin/env python
     1#!/usr/bin/env python3
    22# -*- coding: utf-8 -*-
    33#************************************************************************
     
    6666        result = fn(*args, **kwargs)
    6767        t2 = time.time()
    68         print("@timefn:" + fn.func_name + " took " + str(t2 - t1) + " seconds")
     68        print("@timefn:" + fn.__name__ + " took " + str(t2 - t1) + " seconds")
    6969
    7070        return result
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG