Commit 88cedfbf authored by Michal Čihař's avatar Michal Čihař

Do not use deprecated logger method warn

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 30b9eec4
......@@ -279,7 +279,7 @@ class Command(BaseCommand):
project=project
)
if subprojects.exists():
self.logger.warn(
self.logger.warning(
'Component %s already exists, skipping',
name
)
......@@ -337,7 +337,7 @@ class Command(BaseCommand):
slug = slugify(name)
if SubProject.objects.filter(project=project, slug=slug).exists():
self.logger.warn(
self.logger.warning(
'Component %s already exists, skipping and using it '
'as main component',
name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment