X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0662b235357dd40b5d27efd06b60044ddcec06f6..91f976b99d4e7f00d2c1fbfee75812c3b1b780c6:/services/arv-web/arv-web.py diff --git a/services/arv-web/arv-web.py b/services/arv-web/arv-web.py index 5a95e27b93..55b710a754 100755 --- a/services/arv-web/arv-web.py +++ b/services/arv-web/arv-web.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 # arv-web enables you to run a custom web service from the contents of an Arvados collection. # @@ -72,7 +75,7 @@ class ArvWeb(object): et = 'add' else: et = 'remove' - if ev['properties']['new_attributes']['expires_at'] is not None: + if ev['properties']['new_attributes']['trash_at'] is not None: et = 'remove' self.evqueue.put((self.project, et, ev['object_uuid']))