mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
parent
dc68bc5d37
commit
9b4363eff3
@ -21,9 +21,9 @@ class SharedLibImportWarner(MetaPathFinder):
|
|||||||
if parts[0] != "cog_shared" or len(parts) != 2:
|
if parts[0] != "cog_shared" or len(parts) != 2:
|
||||||
return None
|
return None
|
||||||
msg = (
|
msg = (
|
||||||
"One of cogs uses shared libraries which are"
|
"One of the cogs uses shared libraries which are"
|
||||||
" deprecated and scheduled for removal in the future.\n"
|
" deprecated and scheduled for removal in the future.\n"
|
||||||
"You should inform author of the cog about this message."
|
"You should inform the author(s) of the cog about this message."
|
||||||
)
|
)
|
||||||
warnings.warn(msg, SharedLibDeprecationWarning, stacklevel=2)
|
warnings.warn(msg, SharedLibDeprecationWarning, stacklevel=2)
|
||||||
return None
|
return None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user