summaryrefslogtreecommitdiff
path: root/trove
diff options
context:
space:
mode:
authorCao Xuan Hoang <hoangcx@vn.fujitsu.com>2016-09-29 14:47:17 +0700
committerCao Xuan Hoang <hoangcx@vn.fujitsu.com>2016-09-29 14:47:17 +0700
commitb9d8406282c4017feca039a291699ae90f459f17 (patch)
treeba5cbe56292a485e463c57a32a7550e9a2b7377a /trove
parent11e28a5e51e8f9df603d39dc50aee92c60ad84f8 (diff)
downloadtrove-b9d8406282c4017feca039a291699ae90f459f17.tar.gz
Add Apache 2.0 license to source file
As per OpenStack licensing guide lines [1]: [H102 H103] Newly contributed Source Code should be licensed under the Apache 2.0 license. [H104] Files with no code shouldn't contain any license header nor comments, and must be left completely empty. [1] http://docs.openstack.org/developer/hacking/#openstack-licensing Change-Id: I38f2f1b1429ea49fb02ae1c5cb3e68d547bc1783
Diffstat (limited to 'trove')
-rw-r--r--trove/guestagent/common/timeutils.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/trove/guestagent/common/timeutils.py b/trove/guestagent/common/timeutils.py
index 4ffd73d0..e5895bd8 100644
--- a/trove/guestagent/common/timeutils.py
+++ b/trove/guestagent/common/timeutils.py
@@ -1,3 +1,15 @@
+# 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.
+
from datetime import datetime
from oslo_utils import timeutils