diff options
author | Spencer T Brody <spencer@10gen.com> | 2012-11-20 15:20:29 -0500 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2012-11-27 16:12:04 -0500 |
commit | 3120c1143bf96f6807047048a93bc2f572dc8576 (patch) | |
tree | 25a9af60eab8521a3666647b744dbb660de6f0cd /src/mongo/base | |
parent | 8d99bf66e1e432a33b392b95f0946077c11c8eef (diff) | |
download | mongo-3120c1143bf96f6807047048a93bc2f572dc8576.tar.gz |
SERVER-7602 Fix licenses for auto-generated files
Diffstat (limited to 'src/mongo/base')
-rw-r--r-- | src/mongo/base/generate_error_codes.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mongo/base/generate_error_codes.py b/src/mongo/base/generate_error_codes.py index c1a4f54f6aa..223a7dc9b75 100644 --- a/src/mongo/base/generate_error_codes.py +++ b/src/mongo/base/generate_error_codes.py @@ -141,6 +141,20 @@ def generate_error_class_predicate_definition(class_name, code_names): header_template = '''// AUTO-GENERATED FILE DO NOT EDIT // See src/mongo/base/generate_error_codes.py +/* Copyright 2012 10gen Inc. + * + * 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. + */ #pragma once @@ -186,6 +200,20 @@ namespace mongo { source_template = '''// AUTO-GENERATED FILE DO NOT EDIT // See src/mongo/base/generate_error_codes.py +/* Copyright 2012 10gen Inc. + * + * 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. + */ #include "mongo/base/error_codes.h" |