summaryrefslogtreecommitdiffstats
path: root/deploy/common/query.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-03-21 19:19:58 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2017-03-21 19:21:18 +0800
commitb03cd467c869e2bf0eba5c3093aa078590d10bf7 (patch)
tree53a91a86d75670a013b05524866b32604dbc1b96 /deploy/common/query.py
parente4485f2bb507a77012e4d21bd63357ef04b1d204 (diff)
add missing license
Change-Id: Ie187f76db9ae7518c4fb129b4571cedbd7d931c6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'deploy/common/query.py')
-rw-r--r--deploy/common/query.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/deploy/common/query.py b/deploy/common/query.py
index 9b1adc2c..714abc6a 100644
--- a/deploy/common/query.py
+++ b/deploy/common/query.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2017 ZTE Coreporation and others.
+# feng.xiaowei@zte.com.cn
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
def find(function, sequence, default=None):
for s in sequence:
if function(s):