File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
maintainers/scripts/update Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -99,8 +99,6 @@ async def run_update_script(
9999 logging .error ("" )
100100 stderr = await e .process .stderr .read ()
101101 logging .error (stderr .decode ("utf-8" ))
102- with open (f"{ package ['pname' ]} .log" , "wb" ) as logfile :
103- logfile .write (stderr )
104102 logging .error ("" )
105103 logging .error (
106104 f"--- SHOWING ERROR LOG FOR { package ['name' ]} ----------------------"
@@ -250,7 +248,7 @@ async def start_updates(
250248 dir_root = (await dir_root_process .stdout .read ()).decode ("utf-8" ).strip ()
251249
252250 # Set up temporary directories when using auto-commit.
253- for i in range (num_workers ):
251+ for _ in range (num_workers ):
254252 temp_dir = stack .enter_context (make_worktree ()) if commit else None
255253 temp_dirs .append (temp_dir )
256254
@@ -260,7 +258,7 @@ async def start_updates(
260258
261259 # Add sentinels, one for each worker.
262260 # A workers will terminate when it gets sentinel from the queue.
263- for i in range (num_workers ):
261+ for _ in range (num_workers ):
264262 await packages_to_update .put (None )
265263
266264 # Prepare updater workers for each temp_dir directory.
You can’t perform that action at this time.
0 commit comments