updated Apache license header
Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/c212f1f3 Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/c212f1f3 Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/c212f1f3 Branch: refs/heads/master Commit: c212f1f35576a9948c7aa30ea575419e6cb2f40e Parents: 04a896e Author: Jeff West <[email protected]> Authored: Thu Jul 28 14:09:17 2016 -0700 Committer: Jeff West <[email protected]> Committed: Thu Jul 28 14:09:17 2016 -0700 ---------------------------------------------------------------------- .../usergrid_tools/general/__init__.py | 18 ++++++++++++++++++ .../usergrid_tools/indexing/__init__.py | 18 ++++++++++++++++++ .../usergrid_tools/iterators/__init__.py | 18 ++++++++++++++++++ .../migration/usergrid_data_migrator.py | 2 +- .../usergrid_tools/parse_importer/__init__.py | 18 ++++++++++++++++++ 5 files changed, 73 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/usergrid/blob/c212f1f3/utils/usergrid-util-python/usergrid_tools/general/__init__.py ---------------------------------------------------------------------- diff --git a/utils/usergrid-util-python/usergrid_tools/general/__init__.py b/utils/usergrid-util-python/usergrid_tools/general/__init__.py index e69de29..b64a076 100644 --- a/utils/usergrid-util-python/usergrid_tools/general/__init__.py +++ b/utils/usergrid-util-python/usergrid_tools/general/__init__.py @@ -0,0 +1,18 @@ +# */ +# * 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. +# */ \ No newline at end of file http://git-wip-us.apache.org/repos/asf/usergrid/blob/c212f1f3/utils/usergrid-util-python/usergrid_tools/indexing/__init__.py ---------------------------------------------------------------------- diff --git a/utils/usergrid-util-python/usergrid_tools/indexing/__init__.py b/utils/usergrid-util-python/usergrid_tools/indexing/__init__.py index e69de29..b64a076 100644 --- a/utils/usergrid-util-python/usergrid_tools/indexing/__init__.py +++ b/utils/usergrid-util-python/usergrid_tools/indexing/__init__.py @@ -0,0 +1,18 @@ +# */ +# * 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. +# */ \ No newline at end of file http://git-wip-us.apache.org/repos/asf/usergrid/blob/c212f1f3/utils/usergrid-util-python/usergrid_tools/iterators/__init__.py ---------------------------------------------------------------------- diff --git a/utils/usergrid-util-python/usergrid_tools/iterators/__init__.py b/utils/usergrid-util-python/usergrid_tools/iterators/__init__.py index e69de29..b64a076 100644 --- a/utils/usergrid-util-python/usergrid_tools/iterators/__init__.py +++ b/utils/usergrid-util-python/usergrid_tools/iterators/__init__.py @@ -0,0 +1,18 @@ +# */ +# * 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. +# */ \ No newline at end of file http://git-wip-us.apache.org/repos/asf/usergrid/blob/c212f1f3/utils/usergrid-util-python/usergrid_tools/migration/usergrid_data_migrator.py ---------------------------------------------------------------------- diff --git a/utils/usergrid-util-python/usergrid_tools/migration/usergrid_data_migrator.py b/utils/usergrid-util-python/usergrid_tools/migration/usergrid_data_migrator.py index 0ed0539..42a74ea 100644 --- a/utils/usergrid-util-python/usergrid_tools/migration/usergrid_data_migrator.py +++ b/utils/usergrid-util-python/usergrid_tools/migration/usergrid_data_migrator.py @@ -529,7 +529,7 @@ class CollectionWorker(Process): if empty_count >= 2: keep_going = False - except Exception, e: + except Exception as e: logger.exception('Error in CollectionWorker processing collection [%s]' % collection_name) print traceback.format_exc() http://git-wip-us.apache.org/repos/asf/usergrid/blob/c212f1f3/utils/usergrid-util-python/usergrid_tools/parse_importer/__init__.py ---------------------------------------------------------------------- diff --git a/utils/usergrid-util-python/usergrid_tools/parse_importer/__init__.py b/utils/usergrid-util-python/usergrid_tools/parse_importer/__init__.py index e69de29..b64a076 100644 --- a/utils/usergrid-util-python/usergrid_tools/parse_importer/__init__.py +++ b/utils/usergrid-util-python/usergrid_tools/parse_importer/__init__.py @@ -0,0 +1,18 @@ +# */ +# * 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. +# */ \ No newline at end of file
