summaryrefslogtreecommitdiff
path: root/opendc/api/v2/tiles
diff options
context:
space:
mode:
Diffstat (limited to 'opendc/api/v2/tiles')
-rw-r--r--opendc/api/v2/tiles/tileId/rack/machines/position/endpoint.py2
1 files changed, 1 insertions, 1 deletions
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