File: __init__.py

package info (click to toggle)
pymca 5.4.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 44,320 kB
  • sloc: python: 140,671; ansic: 20,050; sh: 175; makefile: 133; xml: 55
file content (9 lines) | stat: -rw-r--r-- 287 bytes parent folder | download
1
2
3
4
5
6
7
8
9
import logging
import traceback
_logger = logging.getLogger(__name__)

_logger.warning("%s is deprecated, you are advised to use "
                "silx.gui.plot.backends instead",
                __name__)
for line in traceback.format_stack(limit=4):
    _logger.warning(line.rstrip())