core: add warnings helper to highlight warnings so they are more visible in the output
This commit is contained in:
parent
cd40fc75c3
commit
fbaa8e0b44
3 changed files with 51 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
import warnings
|
||||
from ..core import warnings
|
||||
|
||||
warnings.warn('my.books.kobo is deprecated! Please use my.kobo instead!')
|
||||
warnings.high('my.books.kobo is deprecated! Please use my.kobo instead!')
|
||||
|
||||
from ..kobo import *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue