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)