mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 09:22:31 -05:00
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user