diff --git a/perfkitbenchmarker/benchmarks/silo_benchmark.py b/perfkitbenchmarker/benchmarks/silo_benchmark.py index bb67722451..6b0202624b 100644 --- a/perfkitbenchmarker/benchmarks/silo_benchmark.py +++ b/perfkitbenchmarker/benchmarks/silo_benchmark.py @@ -1,3 +1,5 @@ +# Copyright 2015 Google Inc. All rights reserved. +# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/perfkitbenchmarker/scripts/execute_command.py b/perfkitbenchmarker/scripts/execute_command.py index 4139bc95b9..2d4476f62d 100755 --- a/perfkitbenchmarker/scripts/execute_command.py +++ b/perfkitbenchmarker/scripts/execute_command.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# # Copyright 2015 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +13,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + # -*- coding: utf-8 -*- + """Runs a command, saving stdout, stderr, and the return code in files. Simplifies executing long-running commands on a remote host. @@ -25,6 +28,7 @@ *Runs on the guest VM. Supports Python 2.6, 2.7, and 3.x.* """ + import fcntl import logging import optparse diff --git a/perfkitbenchmarker/scripts/wait_for_command.py b/perfkitbenchmarker/scripts/wait_for_command.py index 1789dcdbf2..07b918f025 100755 --- a/perfkitbenchmarker/scripts/wait_for_command.py +++ b/perfkitbenchmarker/scripts/wait_for_command.py @@ -1,4 +1,5 @@ #!/usr/bin/env python2 +# # Copyright 2015 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +13,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + # -*- coding: utf-8 -*- + """Waits for a command started by execute_command.py to complete. Blocks until a command wrapped by "execute_command.py" completes, then mimics