projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '13773-will-fail-container-status'
[arvados.git]
/
sdk
/
cwl
/
arvados_cwl
/
perf.py
diff --git
a/sdk/cwl/arvados_cwl/perf.py
b/sdk/cwl/arvados_cwl/perf.py
index 64fda59aa046705f5e08f1cd152c7d479849971e..39f475fe8d30e6fda700e2f3c965577745b0638f 100644
(file)
--- a/
sdk/cwl/arvados_cwl/perf.py
+++ b/
sdk/cwl/arvados_cwl/perf.py
@@
-1,3
+1,7
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
import time
import uuid
import time
import uuid
@@
-10,6
+14,6
@@
class Perf(object):
self.time = time.time()
self.logger.debug("ENTER %s %s", self.name, self.time)
self.time = time.time()
self.logger.debug("ENTER %s %s", self.name, self.time)
- def __exit__(self, exc_type
, exc_value, traceback
):
+ def __exit__(self, exc_type
=None, exc_value=None, traceback=None
):
now = time.time()
self.logger.debug("EXIT %s %s %s", self.name, now, now - self.time)
now = time.time()
self.logger.debug("EXIT %s %s %s", self.name, now, now - self.time)