19070: Still trying to fix test_with_arvbox
[arvados.git] / doc / _includes / _admin_set_property_to_collections_under_project_py.liquid
index 06ef6f097ad051359e1084039cf62cf973bfe03b..95718cc1f0022bce0bc4c4c77b539d95ad625fe6 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 {% comment %}
 Copyright (C) The Arvados Authors. All rights reserved.
 
@@ -28,9 +28,9 @@ for p_uuid in [root_uuid] + get_subproject_uuids(api, root_uuid):
     f = [['properties.responsible_person_uuid', 'exists', False],
          ['owner_uuid', '=', p_uuid]]
     cols = get_cols(api, f)
-    print("Found {} collections owned by {}".format(len(cols), p_uuid))
+    print('Found {} collections owned by {}'.format(len(cols), p_uuid))
     for c in cols:
-        print(" - Updating collection {}".format(c["uuid"]))
+        print(' - Updating collection {}'.format(c['uuid']))
         props = c['properties']
         props['responsible_person_uuid'] = responsible_uuid
         api.collections().update(uuid=c['uuid'], body={'properties': props}).execute()
\ No newline at end of file