Files
training-labs/labs/stacktrain/__init__.py
Roger Luethi 075bee7f11 Python port of osbash
This is a pretty direct port of osbash to Python.

The entry point is st.py; use ./st.py --help for help.

osbash.sh should work as before.

Implements: blueprint labs-python-port
Change-Id: Ifcccc420d58cbe907ce29542e4200803fa39e134
2016-12-18 11:47:44 +00:00

13 lines
392 B
Python

# # Set default logging handler to avoid "No handler found" warnings.
# import logging
# try: # Python 2.7+
# from logging import NullHandler
# except ImportError:
# class NullHandler(logging.Handler):
# def emit(self, record):
# pass
#
# logging.getLogger(__name__).addHandler(NullHandler())
#import logging
#logging.getLogger(__name__).setLevel(logging.DEBUG)