Repository: incubator-hawq Updated Branches: refs/heads/2.0.0.0-incubating dd3329147 -> 6b2de9d09
HAWQ-1072. Remove incorrectly placed ASF headers. During the Apache HAWQ 2.0.0.0-incubator review (guided by Apache project mentor Roman Shaposhnik), we identified the Apache License, Version 2.0 header was incorrectly placed on the files within the following third party directories: * tools/bin/ext/simplejson * tools/bin/ext/yaml These projects use the MIT license. Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/5c3b94d6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/5c3b94d6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/5c3b94d6 Branch: refs/heads/2.0.0.0-incubating Commit: 5c3b94d633b39bcccfdc5a3ad7afb748ec14d62f Parents: dd33291 Author: Ed Espino <[email protected]> Authored: Fri Sep 23 14:33:24 2016 -0700 Committer: Ed Espino <[email protected]> Committed: Fri Sep 23 14:33:24 2016 -0700 ---------------------------------------------------------------------- tools/bin/ext/simplejson/__init__.py | 16 ---------------- tools/bin/ext/simplejson/_speedups.c | 19 ------------------- tools/bin/ext/simplejson/decoder.py | 16 ---------------- tools/bin/ext/simplejson/encoder.py | 16 ---------------- tools/bin/ext/simplejson/jsonfilter.py | 16 ---------------- tools/bin/ext/simplejson/scanner.py | 16 ---------------- tools/bin/ext/simplejson/tests/test_attacks.py | 16 ---------------- tools/bin/ext/simplejson/tests/test_dump.py | 16 ---------------- tools/bin/ext/simplejson/tests/test_fail.py | 16 ---------------- tools/bin/ext/simplejson/tests/test_float.py | 16 ---------------- tools/bin/ext/simplejson/tests/test_indent.py | 16 ---------------- tools/bin/ext/simplejson/tests/test_pass1.py | 17 ----------------- tools/bin/ext/simplejson/tests/test_pass2.py | 16 ---------------- tools/bin/ext/simplejson/tests/test_pass3.py | 16 ---------------- tools/bin/ext/simplejson/tests/test_recursion.py | 16 ---------------- .../bin/ext/simplejson/tests/test_separators.py | 16 ---------------- tools/bin/ext/simplejson/tests/test_unicode.py | 16 ---------------- tools/bin/ext/yaml/__init__.py | 16 ---------------- tools/bin/ext/yaml/composer.py | 16 ---------------- tools/bin/ext/yaml/constructor.py | 16 ---------------- tools/bin/ext/yaml/cyaml.py | 16 ---------------- tools/bin/ext/yaml/dumper.py | 16 ---------------- tools/bin/ext/yaml/emitter.py | 16 ---------------- tools/bin/ext/yaml/error.py | 16 ---------------- tools/bin/ext/yaml/events.py | 16 ---------------- tools/bin/ext/yaml/loader.py | 16 ---------------- tools/bin/ext/yaml/nodes.py | 16 ---------------- tools/bin/ext/yaml/parser.py | 16 ---------------- tools/bin/ext/yaml/reader.py | 16 ---------------- tools/bin/ext/yaml/representer.py | 16 ---------------- tools/bin/ext/yaml/resolver.py | 16 ---------------- tools/bin/ext/yaml/scanner.py | 16 ---------------- tools/bin/ext/yaml/serializer.py | 16 ---------------- tools/bin/ext/yaml/tokens.py | 16 ---------------- 34 files changed, 548 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/__init__.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/__init__.py b/tools/bin/ext/simplejson/__init__.py index 6f0f605..38d6229 100755 --- a/tools/bin/ext/simplejson/__init__.py +++ b/tools/bin/ext/simplejson/__init__.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. r""" A simple, fast, extensible JSON encoder and decoder http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/_speedups.c ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/_speedups.c b/tools/bin/ext/simplejson/_speedups.c index e4cc18f..8f290bb 100644 --- a/tools/bin/ext/simplejson/_speedups.c +++ b/tools/bin/ext/simplejson/_speedups.c @@ -1,22 +1,3 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ - #include "Python.h" #if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) typedef int Py_ssize_t; http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/decoder.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/decoder.py b/tools/bin/ext/simplejson/decoder.py index 5182216..a1b53b2 100755 --- a/tools/bin/ext/simplejson/decoder.py +++ b/tools/bin/ext/simplejson/decoder.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. """ Implementation of JSONDecoder """ http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/encoder.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/encoder.py b/tools/bin/ext/simplejson/encoder.py index 4bf1746..d29919a 100755 --- a/tools/bin/ext/simplejson/encoder.py +++ b/tools/bin/ext/simplejson/encoder.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. """ Implementation of JSONEncoder """ http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/jsonfilter.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/jsonfilter.py b/tools/bin/ext/simplejson/jsonfilter.py index 074b481..01ca21d 100755 --- a/tools/bin/ext/simplejson/jsonfilter.py +++ b/tools/bin/ext/simplejson/jsonfilter.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 simplejson import cgi http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/scanner.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/scanner.py b/tools/bin/ext/simplejson/scanner.py index 5fe4f41..64f4999 100755 --- a/tools/bin/ext/simplejson/scanner.py +++ b/tools/bin/ext/simplejson/scanner.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. """ Iterator based sre token scanner """ http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/tests/test_attacks.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/tests/test_attacks.py b/tools/bin/ext/simplejson/tests/test_attacks.py index f7bafdd..8ecfed8 100755 --- a/tools/bin/ext/simplejson/tests/test_attacks.py +++ b/tools/bin/ext/simplejson/tests/test_attacks.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. def test_script_close_attack(): import simplejson res = simplejson.dumps('</script>') http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/tests/test_dump.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/tests/test_dump.py b/tools/bin/ext/simplejson/tests/test_dump.py index 0e4ebfb..b4e236e 100755 --- a/tools/bin/ext/simplejson/tests/test_dump.py +++ b/tools/bin/ext/simplejson/tests/test_dump.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 cStringIO import StringIO import simplejson as S http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/tests/test_fail.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/tests/test_fail.py b/tools/bin/ext/simplejson/tests/test_fail.py index 7f78720..a99d9c4 100755 --- a/tools/bin/ext/simplejson/tests/test_fail.py +++ b/tools/bin/ext/simplejson/tests/test_fail.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. # Fri Dec 30 18:57:26 2005 JSONDOCS = [ # http://json.org/JSON_checker/test/fail1.json http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/tests/test_float.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/tests/test_float.py b/tools/bin/ext/simplejson/tests/test_float.py index e33d3ac..ee93358 100755 --- a/tools/bin/ext/simplejson/tests/test_float.py +++ b/tools/bin/ext/simplejson/tests/test_float.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. def test_floats(): import simplejson for num in [1617161771.7650001]: http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/tests/test_indent.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/tests/test_indent.py b/tools/bin/ext/simplejson/tests/test_indent.py index 74227bd..47dd4dc 100755 --- a/tools/bin/ext/simplejson/tests/test_indent.py +++ b/tools/bin/ext/simplejson/tests/test_indent.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/tests/test_pass1.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/tests/test_pass1.py b/tools/bin/ext/simplejson/tests/test_pass1.py index 87658fd..e8363f9 100755 --- a/tools/bin/ext/simplejson/tests/test_pass1.py +++ b/tools/bin/ext/simplejson/tests/test_pass1.py @@ -1,20 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 http://json.org/JSON_checker/test/pass1.json JSON = r''' [ "JSON Test Pattern pass1", http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/tests/test_pass2.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/tests/test_pass2.py b/tools/bin/ext/simplejson/tests/test_pass2.py index 72bcfd0..ae74abb 100755 --- a/tools/bin/ext/simplejson/tests/test_pass2.py +++ b/tools/bin/ext/simplejson/tests/test_pass2.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 http://json.org/JSON_checker/test/pass2.json JSON = r''' [[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]] http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/tests/test_pass3.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/tests/test_pass3.py b/tools/bin/ext/simplejson/tests/test_pass3.py index 2446aa9..d94893f 100755 --- a/tools/bin/ext/simplejson/tests/test_pass3.py +++ b/tools/bin/ext/simplejson/tests/test_pass3.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 http://json.org/JSON_checker/test/pass3.json JSON = r''' { http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/tests/test_recursion.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/tests/test_recursion.py b/tools/bin/ext/simplejson/tests/test_recursion.py index 24e013c..756b066 100755 --- a/tools/bin/ext/simplejson/tests/test_recursion.py +++ b/tools/bin/ext/simplejson/tests/test_recursion.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 simplejson def test_listrecursion(): http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/tests/test_separators.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/tests/test_separators.py b/tools/bin/ext/simplejson/tests/test_separators.py index f088e09..a615354 100755 --- a/tools/bin/ext/simplejson/tests/test_separators.py +++ b/tools/bin/ext/simplejson/tests/test_separators.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/simplejson/tests/test_unicode.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/simplejson/tests/test_unicode.py b/tools/bin/ext/simplejson/tests/test_unicode.py index 430bcd3..88d0939 100755 --- a/tools/bin/ext/simplejson/tests/test_unicode.py +++ b/tools/bin/ext/simplejson/tests/test_unicode.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 simplejson as S def test_encoding1(): http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/__init__.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/__init__.py b/tools/bin/ext/yaml/__init__.py index b6c84f9..bd233a8 100644 --- a/tools/bin/ext/yaml/__init__.py +++ b/tools/bin/ext/yaml/__init__.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 error import * http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/composer.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/composer.py b/tools/bin/ext/yaml/composer.py index a3fb797..9f5cd87 100644 --- a/tools/bin/ext/yaml/composer.py +++ b/tools/bin/ext/yaml/composer.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. __all__ = ['Composer', 'ComposerError'] http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/constructor.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/constructor.py b/tools/bin/ext/yaml/constructor.py index e66dd2c..a1295c8 100644 --- a/tools/bin/ext/yaml/constructor.py +++ b/tools/bin/ext/yaml/constructor.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. __all__ = ['BaseConstructor', 'SafeConstructor', 'Constructor', 'ConstructorError'] http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/cyaml.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/cyaml.py b/tools/bin/ext/yaml/cyaml.py index c3eaf77..14acb07 100644 --- a/tools/bin/ext/yaml/cyaml.py +++ b/tools/bin/ext/yaml/cyaml.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. __all__ = ['CBaseLoader', 'CSafeLoader', 'CLoader', 'CBaseDumper', 'CSafeDumper', 'CDumper'] http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/dumper.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/dumper.py b/tools/bin/ext/yaml/dumper.py index a955200..355c1e2 100644 --- a/tools/bin/ext/yaml/dumper.py +++ b/tools/bin/ext/yaml/dumper.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. __all__ = ['BaseDumper', 'SafeDumper', 'Dumper'] http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/emitter.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/emitter.py b/tools/bin/ext/yaml/emitter.py index 23730d8..d9d1bf8 100644 --- a/tools/bin/ext/yaml/emitter.py +++ b/tools/bin/ext/yaml/emitter.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. # Emitter expects events obeying the following grammar: # stream ::= STREAM-START document* STREAM-END http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/error.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/error.py b/tools/bin/ext/yaml/error.py index 89e4a6a..577686d 100644 --- a/tools/bin/ext/yaml/error.py +++ b/tools/bin/ext/yaml/error.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. __all__ = ['Mark', 'YAMLError', 'MarkedYAMLError'] http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/events.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/events.py b/tools/bin/ext/yaml/events.py index f57b773..f79ad38 100644 --- a/tools/bin/ext/yaml/events.py +++ b/tools/bin/ext/yaml/events.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. # Abstract classes. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/loader.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/loader.py b/tools/bin/ext/yaml/loader.py index 29461f4..293ff46 100644 --- a/tools/bin/ext/yaml/loader.py +++ b/tools/bin/ext/yaml/loader.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. __all__ = ['BaseLoader', 'SafeLoader', 'Loader'] http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/nodes.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/nodes.py b/tools/bin/ext/yaml/nodes.py index 3fdfbe6..c4f070c 100644 --- a/tools/bin/ext/yaml/nodes.py +++ b/tools/bin/ext/yaml/nodes.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. class Node(object): def __init__(self, tag, value, start_mark, end_mark): http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/parser.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/parser.py b/tools/bin/ext/yaml/parser.py index a1228f6..a46bb9e 100644 --- a/tools/bin/ext/yaml/parser.py +++ b/tools/bin/ext/yaml/parser.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. # The following YAML grammar is LL(1) and is parsed by a recursive descent # parser. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/reader.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/reader.py b/tools/bin/ext/yaml/reader.py index f36e647..1d4667c 100644 --- a/tools/bin/ext/yaml/reader.py +++ b/tools/bin/ext/yaml/reader.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 abstractions for the input stream. You don't have to # looks further, there are no pretty code. # http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/representer.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/representer.py b/tools/bin/ext/yaml/representer.py index b83cc4b..1f4fe59 100644 --- a/tools/bin/ext/yaml/representer.py +++ b/tools/bin/ext/yaml/representer.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. __all__ = ['BaseRepresenter', 'SafeRepresenter', 'Representer', 'RepresenterError'] http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/resolver.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/resolver.py b/tools/bin/ext/yaml/resolver.py index 0feb12b..5cbf6b3 100644 --- a/tools/bin/ext/yaml/resolver.py +++ b/tools/bin/ext/yaml/resolver.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. __all__ = ['BaseResolver', 'Resolver'] http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/scanner.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/scanner.py b/tools/bin/ext/yaml/scanner.py index 369c027..a3ecdd0 100644 --- a/tools/bin/ext/yaml/scanner.py +++ b/tools/bin/ext/yaml/scanner.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. # Scanner produces tokens of the following types: # STREAM-START http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/serializer.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/serializer.py b/tools/bin/ext/yaml/serializer.py index eb70372..2101f95 100644 --- a/tools/bin/ext/yaml/serializer.py +++ b/tools/bin/ext/yaml/serializer.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. __all__ = ['Serializer', 'SerializerError'] http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/5c3b94d6/tools/bin/ext/yaml/tokens.py ---------------------------------------------------------------------- diff --git a/tools/bin/ext/yaml/tokens.py b/tools/bin/ext/yaml/tokens.py index 41ee0fb..4d0b48a 100644 --- a/tools/bin/ext/yaml/tokens.py +++ b/tools/bin/ext/yaml/tokens.py @@ -1,19 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. class Token(object): def __init__(self, start_mark, end_mark):
