File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 2626for file in DOCKERFILE_BASE , DOCKERFILE_LATEXPDF :
2727 content = file .read_text (encoding = 'utf-8' )
2828 content = re .sub (
29- rf'{ re .escape (OPENCONTAINERS_VERSION_PREFIX )} = "{ VERSION_PATTERN } "' ,
30- rf'{ OPENCONTAINERS_VERSION_PREFIX } = "{ VERSION } "' ,
29+ rf'{ re .escape (OPENCONTAINERS_VERSION_PREFIX )} = "{ VERSION_PATTERN } "' ,
30+ rf'{ OPENCONTAINERS_VERSION_PREFIX } = "{ VERSION } "' ,
3131 content ,
3232 )
3333 content = re .sub (
3939
4040
4141def git (* args : str ) -> None :
42- ret = subprocess .run (
42+ subprocess .run (
4343 ('git' , * args ),
44- capture_output = True ,
4544 cwd = DOCKER_ROOT ,
4645 check = True ,
4746 text = True ,
4847 encoding = 'utf-8' ,
4948 )
50- print (ret .stdout )
51- print (ret .stderr , file = sys .stderr )
5249
5350
5451git ('checkout' , 'master' )
You can’t perform that action at this time.
0 commit comments