diff --git a/tools/check_license.py b/tools/check_license.py index af4cd02815..06a9d482e1 100755 --- a/tools/check_license.py +++ b/tools/check_license.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2015 Samsung Electronics Co., Ltd. +# Copyright 2015-2016 Samsung Electronics Co., Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ import re; license = re.compile( -u"""(#|//|\*) Copyright 2015 Samsung Electronics Co., Ltd. +u"""(#|//|\*) Copyright \d{4}(-\d{4})? Samsung Electronics Co., Ltd. \s?\\1 \s?\\1 Licensed under the Apache License, Version 2.0 \(the "License"\); \s?\\1 you may not use this file except in compliance with the License.