Rename "morituri" module to "whipper".
Fixes https://github.com/JoeLametta/whipper/issues/100
This commit is contained in:
14
whipper/__init__.py
Normal file
14
whipper/__init__.py
Normal file
@@ -0,0 +1,14 @@
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
|
||||
__version__ = '0.5.1'
|
||||
|
||||
level = logging.WARNING
|
||||
if 'WHIPPER_DEBUG' in os.environ:
|
||||
level = os.environ['WHIPPER_DEBUG'].upper()
|
||||
if 'WHIPPER_LOGFILE' in os.environ:
|
||||
logging.basicConfig(filename=os.environ['WHIPPER_LOGFILE'],
|
||||
filemode='w', level=level)
|
||||
else:
|
||||
logging.basicConfig(stream=sys.stderr, level=level)
|
||||
Reference in New Issue
Block a user