Skip to content

Commit

Permalink
fixing errors found by ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneknapp committed Oct 8, 2024
1 parent fd99724 commit a966d90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/user-image-management/manage-image-repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import argparse
import subprocess
import sys
import os


Expand Down Expand Up @@ -70,7 +71,7 @@ def sync(args):
print(f"Syncing {name} from {line} in {path}...")
subprocess.check_call(["git", "switch", "main"], cwd=path)
subprocess.check_call(["git", "fetch", "--all", "--prune"], cwd=path)
subprocess.check_call(["git", "rebase", f"upstream/main"], cwd=path)
subprocess.check_call(["git", "rebase", "upstream/main"], cwd=path)

if args.push:
if not args.origin:
Expand Down

0 comments on commit a966d90

Please sign in to comment.