aboutsummaryrefslogtreecommitdiff
path: root/wa/utils
diff options
context:
space:
mode:
authorSergei Trofimov <sergei.trofimov@arm.com>2018-07-04 15:39:44 +0100
committerMarc Bonnici <marc.bonnici@arm.com>2018-07-04 16:33:31 +0100
commit8878cc20d44d801c511d1843fea0da9e218eedd0 (patch)
tree4968a94d610a831bf410e9cad26d00591f2e5acd /wa/utils
parent5892b1de181dd1e14e2648972f4eb45e8680e5b3 (diff)
Update copyright headers.
- Add copyright headers to files that did not already have them - Update the year to the last year the file was modified in files with existing headers.
Diffstat (limited to 'wa/utils')
-rw-r--r--wa/utils/android.py15
-rw-r--r--wa/utils/diff.py15
-rw-r--r--wa/utils/doc.py2
-rw-r--r--wa/utils/exec_control.py15
-rw-r--r--wa/utils/formatter.py2
-rw-r--r--wa/utils/log.py2
-rw-r--r--wa/utils/misc.py2
-rw-r--r--wa/utils/revent.py2
-rw-r--r--wa/utils/serializer.py15
-rw-r--r--wa/utils/terminalsize.py15
-rw-r--r--wa/utils/trace_cmd.py2
-rw-r--r--wa/utils/types.py2
12 files changed, 82 insertions, 7 deletions
diff --git a/wa/utils/android.py b/wa/utils/android.py
index d1b59394..3e016dd4 100644
--- a/wa/utils/android.py
+++ b/wa/utils/android.py
@@ -1,3 +1,18 @@
+# Copyright 2018 ARM Limited
+#
+# 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
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# 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.
+#
+
import logging
from datetime import datetime
diff --git a/wa/utils/diff.py b/wa/utils/diff.py
index 23774147..b234c2c8 100644
--- a/wa/utils/diff.py
+++ b/wa/utils/diff.py
@@ -1,3 +1,18 @@
+# Copyright 2018 ARM Limited
+#
+# 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
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# 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.
+#
+
import os
import re
import logging
diff --git a/wa/utils/doc.py b/wa/utils/doc.py
index c0589e66..55715cc1 100644
--- a/wa/utils/doc.py
+++ b/wa/utils/doc.py
@@ -1,4 +1,4 @@
-# Copyright 2014-2015 ARM Limited
+# Copyright 2014-2018 ARM Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/wa/utils/exec_control.py b/wa/utils/exec_control.py
index a23336a4..2dcf4fb7 100644
--- a/wa/utils/exec_control.py
+++ b/wa/utils/exec_control.py
@@ -1,3 +1,18 @@
+# Copyright 2018 ARM Limited
+#
+# 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
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# 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.
+#
+
# "environment" management:
__environments = {}
__active_environment = None
diff --git a/wa/utils/formatter.py b/wa/utils/formatter.py
index de5af654..97050868 100644
--- a/wa/utils/formatter.py
+++ b/wa/utils/formatter.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2015 ARM Limited
+# Copyright 2013-2017 ARM Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/wa/utils/log.py b/wa/utils/log.py
index 1012e7ab..243bff20 100644
--- a/wa/utils/log.py
+++ b/wa/utils/log.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2015 ARM Limited
+# Copyright 2013-2018 ARM Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/wa/utils/misc.py b/wa/utils/misc.py
index 2090c24a..1da5e166 100644
--- a/wa/utils/misc.py
+++ b/wa/utils/misc.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2015 ARM Limited
+# Copyright 2013-2018 ARM Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/wa/utils/revent.py b/wa/utils/revent.py
index 50552277..d94daacb 100644
--- a/wa/utils/revent.py
+++ b/wa/utils/revent.py
@@ -1,4 +1,4 @@
-# Copyright 2016 ARM Limited
+# Copyright 2016-2018 ARM Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/wa/utils/serializer.py b/wa/utils/serializer.py
index 9a01e5d7..ed2fcbc1 100644
--- a/wa/utils/serializer.py
+++ b/wa/utils/serializer.py
@@ -1,3 +1,18 @@
+# Copyright 2018 ARM Limited
+#
+# 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
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# 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.
+#
+
"""
This module contains wrappers for Python serialization modules for
common formats that make it easier to serialize/deserialize WA
diff --git a/wa/utils/terminalsize.py b/wa/utils/terminalsize.py
index f211b795..530f59c8 100644
--- a/wa/utils/terminalsize.py
+++ b/wa/utils/terminalsize.py
@@ -1,3 +1,18 @@
+# Copyright 2018 ARM Limited
+#
+# 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
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# 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.
+#
+
# Adapted from
# https://gist.github.com/jtriley/1108174
# pylint: disable=bare-except,unpacking-non-sequence
diff --git a/wa/utils/trace_cmd.py b/wa/utils/trace_cmd.py
index 65900c79..6aa23b2c 100644
--- a/wa/utils/trace_cmd.py
+++ b/wa/utils/trace_cmd.py
@@ -1,4 +1,4 @@
-# Copyright 2015 ARM Limited
+# Copyright 2015-2018 ARM Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/wa/utils/types.py b/wa/utils/types.py
index 17282f8d..1209eb19 100644
--- a/wa/utils/types.py
+++ b/wa/utils/types.py
@@ -1,4 +1,4 @@
-# Copyright 2014-2015 ARM Limited
+# Copyright 2014-2018 ARM Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.