From 3237fdf6c271d75c48d935b4bb82f84fefe66bcd Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Tue, 25 Jan 2022 22:24:53 +0000 Subject: [PATCH] MEMFS Python script: add copyright --- memfs.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/memfs.py b/memfs.py index e18e55425..ca34275b3 100755 --- a/memfs.py +++ b/memfs.py @@ -1,4 +1,15 @@ #!/usr/bin/env python + +# +# (C) Copyright 2005- ECMWF. +# +# This software is licensed under the terms of the Apache Licence Version 2.0 +# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. +# +# In applying this licence, ECMWF does not waive the privileges and immunities +# granted to it by virtue of its status as an intergovernmental organisation +# nor does it submit to any jurisdiction. +# from __future__ import print_function import argparse @@ -201,5 +212,5 @@ for line in f.readlines(): print(line, file=g) - -print("MEMFS: Done", time.time() - start) +elapsed = time.time() - start +print("MEMFS: Done in %.2f seconds" % elapsed)