File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
graalpython/com.oracle.graal.python.pegparser.generator/pegjava Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 10
10
import ast
11
11
import os
12
12
import re
13
+ import datetime
13
14
from collections import Counter
14
15
from dataclasses import dataclass
15
16
from enum import Enum
@@ -403,7 +404,7 @@ def __str__(self) -> str:
403
404
}
404
405
405
406
LICENSE = '''/*
406
- * Copyright (c) 2021, 2024 , Oracle and/or its affiliates. All rights reserved.
407
+ * Copyright (c) 2021, {year} , Oracle and/or its affiliates. All rights reserved.
407
408
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
408
409
*
409
410
* The Universal Permissive License (UPL), Version 1.0
@@ -442,7 +443,7 @@ def __str__(self) -> str:
442
443
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
443
444
* SOFTWARE.
444
445
*/
445
- '''
446
+ ''' . format ( year = datetime . datetime . now (). strftime ( '%Y' ))
446
447
447
448
IMPORTS = '''
448
449
import com.oracle.graal.python.pegparser.sst.*;
You can’t perform that action at this time.
0 commit comments