projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
14325: Rename crunch-dispatch-cloud → arvados-dispatch-cloud.
[arvados.git]
/
services
/
arv-web
/
arv-web.py
diff --git
a/services/arv-web/arv-web.py
b/services/arv-web/arv-web.py
index 5a95e27b93b26789d10d93f4dadeac849fcfaa9b..55b710a754dbc745b185327b9009bab4688087f8 100755
(executable)
--- a/
services/arv-web/arv-web.py
+++ b/
services/arv-web/arv-web.py
@@
-1,4
+1,7
@@
#!/usr/bin/env python
#!/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.
#
# 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'
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']))
et = 'remove'
self.evqueue.put((self.project, et, ev['object_uuid']))