From db979d36d0b9693cc81ffa0bdd29364c6218fc95 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Wed, 24 Jun 2020 13:26:56 +0200 Subject: Add working test setup --- opendc/api/v2/tiles/tileId/rack/machines/position/endpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc/api/v2/tiles') diff --git a/opendc/api/v2/tiles/tileId/rack/machines/position/endpoint.py b/opendc/api/v2/tiles/tileId/rack/machines/position/endpoint.py index e769a049..72fd44d5 100644 --- a/opendc/api/v2/tiles/tileId/rack/machines/position/endpoint.py +++ b/opendc/api/v2/tiles/tileId/rack/machines/position/endpoint.py @@ -96,7 +96,7 @@ def PUT(request): return Response(409, 'Rack position occupied.') except Exception as e: - print e + print(e) return Response(400, 'Invalid Machine.') # Return this Machine -- cgit v1.2.3