Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienReuiller committed Sep 11, 2024
1 parent 5bf90a4 commit 3d46466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/management/commands/syncbetadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ def delete_service(self, service_id):
try:
service = ServicePage.objects.get(beta_id=service_id)
service.delete()
self.stdout.write(f"Service id {service_id} deleted!")
self.stdout.write("Service deleted!")

# TODO: check if add redirection to avoid 404 is needed
except ServicePage.DoesNotExist:
self.stdout.write(f"Service id {service_id} already deleted.")
self.stdout.write("Service already deleted.")
pass # service already deleted

def create_or_update_member(self, member_id, services, attributes):
Expand Down

0 comments on commit 3d46466

Please sign in to comment.