Skip to content
Snippets Groups Projects
Commit 6db02bdf authored by Todd Dembrey's avatar Todd Dembrey Committed by Fredrik Jonsson
Browse files

remove spurious print statements

parent fc4045ff
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,6 @@ class Command(BaseCommand):
# TODO timezone?
news.submit_time = datetime.fromtimestamp(int(node['created']), timezone.utc)
news.publication_date = datetime.fromtimestamp(int(node['created']), timezone.utc)
print(news.publication_date)
news.title = node['title']
......@@ -120,7 +119,7 @@ class Command(BaseCommand):
author=PersonPage.objects.get(title=name)
))
except PersonPage.DoesNotExist:
print(f'missing person page: {name}')
self.stdout.write(f'Missing person page: {name}')
try:
if not news.get_parent():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment