File tree Expand file tree Collapse file tree 4 files changed +40
-1
lines changed
benchmark/tensorflow/image
doc/getstarted/concepts/src
python/paddle/v2/fluid/tests Expand file tree Collapse file tree 4 files changed +40
-1
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ def main(argv=None):
9090 retv = 0
9191 for filename in args.filenames:
9292 first_line = io.open(filename).readline()
93- if "Copyright " in first_line: continue
93+ if "COPYRIGHT " in first_line.upper() : continue
9494 original_contents = io.open(filename).read()
9595 new_contents = generate_copyright(
9696 COPYRIGHT, lang_type(filename)) + original_contents
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserve.
2+ #
3+ #Licensed under the Apache License, Version 2.0 (the "License");
4+ #you may not use this file except in compliance with the License.
5+ #You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ #Unless required by applicable law or agreed to in writing, software
10+ #distributed under the License is distributed on an "AS IS" BASIS,
11+ #WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ #See the License for the specific language governing permissions and
13+ #limitations under the License.
114from six .moves import xrange # pylint: disable=redefined-builtin
215from datetime import datetime
316import math
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserve.
2+ #
3+ #Licensed under the Apache License, Version 2.0 (the "License");
4+ #you may not use this file except in compliance with the License.
5+ #You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ #Unless required by applicable law or agreed to in writing, software
10+ #distributed under the License is distributed on an "AS IS" BASIS,
11+ #WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ #See the License for the specific language governing permissions and
13+ #limitations under the License.
114import paddle .v2 as paddle
215import numpy as np
316
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserve.
2+ #
3+ #Licensed under the Apache License, Version 2.0 (the "License");
4+ #you may not use this file except in compliance with the License.
5+ #You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ #Unless required by applicable law or agreed to in writing, software
10+ #distributed under the License is distributed on an "AS IS" BASIS,
11+ #WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ #See the License for the specific language governing permissions and
13+ #limitations under the License.
114import unittest
215import paddle .v2 as paddle
316import paddle .v2 .fluid .core as core
You can’t perform that action at this time.
0 commit comments