Skip to content

Commit

Permalink
chore: remove per attr path log
Browse files Browse the repository at this point in the history
  • Loading branch information
aldoborrero authored and selfuryon committed Oct 30, 2024
1 parent 6af0a62 commit 3542104
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions maintainers/scripts/update/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ async def run_update_script(
logging.error("")
stderr = await e.process.stderr.read()
logging.error(stderr.decode("utf-8"))
with open(f"{package['pname']}.log", "wb") as logfile:
logfile.write(stderr)
logging.error("")
logging.error(
f"--- SHOWING ERROR LOG FOR {package['name']} ----------------------"
Expand Down Expand Up @@ -250,7 +248,7 @@ async def start_updates(
dir_root = (await dir_root_process.stdout.read()).decode("utf-8").strip()

# Set up temporary directories when using auto-commit.
for i in range(num_workers):
for _ in range(num_workers):
temp_dir = stack.enter_context(make_worktree()) if commit else None
temp_dirs.append(temp_dir)

Expand All @@ -260,7 +258,7 @@ async def start_updates(

# Add sentinels, one for each worker.
# A workers will terminate when it gets sentinel from the queue.
for i in range(num_workers):
for _ in range(num_workers):
await packages_to_update.put(None)

# Prepare updater workers for each temp_dir directory.
Expand Down

0 comments on commit 3542104

Please sign in to comment.