File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ def call(cmd, split=True):
54
54
55
55
56
56
def add_dockerfile_to_branch (new_tags , docker ):
57
-
58
57
mcr_name , mcr_ver , link = docker
59
58
60
59
if len (mcr_ver .split ("." )) == 2 :
@@ -68,7 +67,6 @@ def add_dockerfile_to_branch(new_tags, docker):
68
67
call (f"git checkout -b { mcr_name } " )
69
68
70
69
for suffix in variants :
71
-
72
70
tag = f"{ mcr_ver } { suffix } "
73
71
74
72
if not DRY_RUN and call (f"git rev-parse --verify { tag } " ):
@@ -107,13 +105,11 @@ def add_dockerfile_to_branch(new_tags, docker):
107
105
108
106
109
107
def list_mcr (soup ):
110
-
111
108
ver_re = re .compile (r"(R2\d{3}.) \((\d\.\d+)\)" )
112
109
rel_re = re .compile (r"Release/(\d+)/" )
113
110
114
111
dockers = []
115
112
for row in soup .find_all ("table" )[0 ].find_all ("tr" ):
116
-
117
113
tds = row .find_all ("td" )
118
114
119
115
if len (tds ) >= 4 :
@@ -142,7 +138,6 @@ def list_mcr(soup):
142
138
143
139
144
140
def main ():
145
-
146
141
with request .urlopen (REL_URL ) as res :
147
142
if res .status != 200 :
148
143
raise RuntimeError ("Could not open matlab release URL" )
You can’t perform that action at this time.
0 commit comments